Linux and SSH

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Darth Mordius
Youngling
Posts: 144
Joined: 2006-12-07 12:28am

Linux and SSH

Post by Darth Mordius »

It's my first post from linux! Just got it up and running on my old celeron 433 (I skipped my breakfast and shower to install linux I'm going to die a virgin aren't I). So Kubuntu is running all fine and dandy (apparently Konquerer doesn't recognize Konquerer or Kubuntu in it's spell checker) and I'm wondering - how do I get an SSH server set up? I've only ever used the front end before, so I'm kind of at a loss here. Any help or tips for a linux newbie would be awesome.
User avatar
EnsGabe
Youngling
Posts: 54
Joined: 2006-07-10 09:49pm

Post by EnsGabe »

'sudo aptitude install openssh-server' will set you up right and proper.
The Monarch: "Anyone wanna explain to me why my coccoon is charred?"
24: "Because you told us to blow it up"
The Monarch: "And why it is sideways?"
21: "We were following orders! You can't yell at us for following orders."
24: "Or kill us for following orders."
RThurmont
Jedi Master
Posts: 1243
Joined: 2005-07-09 01:58pm
Location: Desperately trying to find a local restaurant that serves foie gras.

Post by RThurmont »

Congratulations on your successful install. You're one of about 15 people I've come across in the past two months who has either installed Linux or plans to (including a close relative). Kubuntu is a suprisingly good distro (full disclosure: I'm helping out with the artwork for their next release); you'd think it would be an also ran next to Ubuntu, which gets most of the attention, but Kubuntu is one of the most refined KDE experiences you can have. I wish I could say the same for Xubuntu...
"Here's a nickel, kid. Get yourself a better computer."
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Post by Bounty »

You're one of about 15 people I've come across in the past two months who has either installed Linux or plans to (including a close relative).
I blame it on the press coverage for Vista. My paper is running a series on OS'es in the lead-up to the launch, talking about how Linux has been catching up to Windows in terms of user-friendliness. The consensus in the readers' feedback was that the time has never been better to consider the switch.
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Re: Linux and SSH

Post by Pu-239 »

Destructionator XIII wrote:
I also personally forward X11 requests through ssh so I can use X programs over the link. This is fun for playing especially, and is done by adding "X11Forwarding yes" (no quotes) to your sshd_config file, then sshing in to the box with ssh -X.
X11Forwarding yes is equivalent to -X, so specifying both is redundant.

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

Ah tired :oops:

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Post by Darth Wong »

It's entirely possible that he already has SSHD installed, but his distro automatically installed a firewall or strict settings in the /etc/hosts.allow and /etc/hosts.deny files to close external access to it, assuming it's set to autostart.
Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
rhoenix
Jedi Council Member
Posts: 1910
Joined: 2006-04-22 07:52pm

Post by rhoenix »

Also, make sure you get to know tab-completion. Tab-completion makes *nix very nice.

Basically, type part of a command or directory path and press tab. Extremely useful.

Also, if you use the command line very often, you might want want to consider installing screen, which can be quite handy for doing multiple processes at once.
RThurmont
Jedi Master
Posts: 1243
Joined: 2005-07-09 01:58pm
Location: Desperately trying to find a local restaurant that serves foie gras.

Post by RThurmont »

I blame it on the press coverage for Vista. My paper is running a series on OS'es in the lead-up to the launch, talking about how Linux has been catching up to Windows in terms of user-friendliness. The consensus in the readers' feedback was that the time has never been better to consider the switch.
Exciting times, indeed. Of course, Linux had darn well better satisfy the expectations of its new userbase, or else it, and FOSS in general, are doomed (but I think it will do well, if my experience and that of my friends is any indication). Linux does have some annoying aspects though, and those need to quickly be addressed.
"Here's a nickel, kid. Get yourself a better computer."
User avatar
Spyder
Sith Marauder
Posts: 4465
Joined: 2002-09-03 03:23am
Location: Wellington, New Zealand
Contact:

Post by Spyder »

Do you guys have anything going for remote desktop from windows machines? I've tried freenx but to no avail.
:D
User avatar
Spyder
Sith Marauder
Posts: 4465
Joined: 2002-09-03 03:23am
Location: Wellington, New Zealand
Contact:

Post by Spyder »

Destructionator XIII wrote:
Spyder wrote:Do you guys have anything going for remote desktop from windows machines? I've tried freenx but to no avail.
What do you mean? A Windows box connecting to another Windows box or something else?
Connecting from a windows machine into a linux host. I've been having a play with this. I saw this thread and was wondering if anyone else had any better ideas.
:D
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

Usually some flavor of VNC is used- best implementation of VNC for windows is ultravnc, best one for Linux is realvnc4 I think (for whatever reason, ubuntu defaults to 3 even though 4 is in the repo). Vino (Remote Desktop under System->Preferences) allows you to connect to an existing session though (VNC and NX require you to have a session connectable by remote only), but is significantly slower. NX is the best performing of all of them, but I"ve found freenx flaky. The version from nomachine that you've listed might be better.

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Darth Mordius
Youngling
Posts: 144
Joined: 2006-12-07 12:28am

Post by Darth Mordius »

Another problem has been discovered! Alas, my shock is great in it's profundity.

I'm trying to install java. I've got the rpm file, and when I try rpm -i I get
This. Error failed dependencies. :(

I've check in /bin and I have all of them except basename gawk and sort; I installed gawk and it still shows on the list, and I can't find it in /bin. If I try to install it again it tells my its got the latest version, so I'm pretty sure I have it. I've got no clue why it can't find all the other ones though.

(also, Kubuntu is still apparently misspelled :P)
User avatar
von Neufeld
Padawan Learner
Posts: 188
Joined: 2003-02-27 03:23pm

Post by von Neufeld »

Darth Mordius wrote:Another problem has been discovered! Alas, my shock is great in it's profundity.

I'm trying to install java. I've got the rpm file, and when I try rpm -i I get
This. Error failed dependencies. :(

I've check in /bin and I have all of them except basename gawk and sort; I installed gawk and it still shows on the list, and I can't find it in /bin. If I try to install it again it tells my its got the latest version, so I'm pretty sure I have it. I've got no clue why it can't find all the other ones though.

(also, Kubuntu is still apparently misspelled :P)
Odd.

How about trying to use a .deb package instead of a .rpm?
Hope this page helps:



http://ubuntuguide.org/wiki/Ubuntu_Edgy ... r_Plug-ins
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

Enable multiverse under your synaptic preferences, then install sun-java. Not sure how to do it in a GUI fashion on Kubuntu.

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Alferd Packer
Sith Marauder
Posts: 3706
Joined: 2002-07-19 09:22pm
Location: Slumgullion Pass
Contact:

Post by Alferd Packer »

Get Automatix. It makes getting a vanilla (K)ubuntu installation up and running with all sorts of useful software very, very easy.
"There is a principle which is a bar against all information, which is proof against all arguments and which cannot fail to keep a man in everlasting ignorance--that principle is contempt prior to investigation." -Herbert Spencer

"Against stupidity the gods themselves contend in vain." - Schiller, Die Jungfrau von Orleans, III vi.
User avatar
Darth Mordius
Youngling
Posts: 144
Joined: 2006-12-07 12:28am

Post by Darth Mordius »

Thanks for the help everyone! Fiddling and/or automatix has fixed pretty much all of my problems. On a related note: samba is pretty cool.
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

As a note, don't use RPMs in Kubuntu.
RThurmont
Jedi Master
Posts: 1243
Joined: 2005-07-09 01:58pm
Location: Desperately trying to find a local restaurant that serves foie gras.

Post by RThurmont »

Correct me if I'm wrong, but do .rpms even work in .deb based distros?
"Here's a nickel, kid. Get yourself a better computer."
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

RThurmont wrote:Correct me if I'm wrong, but do .rpms even work in .deb based distros?
You can ... it is just an exercise in pain.
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

You can use alien to convert rpms to debs. I believe the install scripts and dependency handling breaks though.

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
Post Reply