Page 1 of 1

Linux and SSH

Posted: 2007-01-24 01:38pm
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.

Posted: 2007-01-24 02:43pm
by EnsGabe
'sudo aptitude install openssh-server' will set you up right and proper.

Posted: 2007-01-24 03:20pm
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...

Posted: 2007-01-24 03:24pm
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.

Re: Linux and SSH

Posted: 2007-01-24 04:29pm
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.

Posted: 2007-01-24 04:38pm
by Pu-239
Ah tired :oops:

Posted: 2007-01-24 05:21pm
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.

Posted: 2007-01-24 05:25pm
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.

Posted: 2007-01-24 11:10pm
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.

Posted: 2007-01-24 11:35pm
by Spyder
Do you guys have anything going for remote desktop from windows machines? I've tried freenx but to no avail.

Posted: 2007-01-25 12:00am
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.

Posted: 2007-01-25 01:31am
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.

Posted: 2007-01-25 04:51am
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)

Posted: 2007-01-25 06:41am
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

Posted: 2007-01-25 08:20am
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.

Posted: 2007-01-25 08:46am
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.

Posted: 2007-01-25 04:51pm
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.

Posted: 2007-01-25 04:59pm
by phongn
As a note, don't use RPMs in Kubuntu.

Posted: 2007-01-25 06:01pm
by RThurmont
Correct me if I'm wrong, but do .rpms even work in .deb based distros?

Posted: 2007-01-25 06:05pm
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.

Posted: 2007-01-25 06:58pm
by Pu-239
You can use alien to convert rpms to debs. I believe the install scripts and dependency handling breaks though.