Help - Search - Members - Calendar
Full Version: SSH installation
The Planet Forums > Control Panels > Plesk
afriq
Installing SSh on a RaQ is a breeze, thanks to the Cobalt packages. How difficult is it to install SSH on the WLB'es?
mmoncur
It's pretty simple.

First, grab these three openssh files from Red Hat:
- openssh-2.9p2-8.7.i386.rpm
- openssh-clients-2.9p2-8.7.i386.rpm
- openssh-server-2.9p2-8.7.i386.rpm
You can find them here.

Switch to the root user and use these commands to set them up:

CODE
rpm -e openssh-clients-2.5.2p2-5

rpm -U openssh-2.9p2-8.7.i386.rpm

rpm -U openssh-clients-2.9p2-8.7.i386.rpm

rpm -U openssh-server-2.9p2-8.7.i386.rpm


If these commands are successful, you just need to reboot the server to start the services. (There's probably a way to do it without rebooting.)

There's a bit more about this in this old thread:
http://forum.rackshack.net/showthread.php?...=&threadid=1311

That thread explains how to disable telnet after you verify that SSH works. Good luck!
diyoha
Hello,

openssh has a newer version now: 3.01
http://www.openssh.org

David
MrLister
don't the server already have ssh?
afriq
Thanks - wil let you know if there are any funny issues ...

btw - the RaQ does not require a reboot
snowcrash
there is no need for a reboot.
when loged in as root type

/sbin/service sshd start

and enjoy icon_wink.gif
Kruge
As an addition to the installation process, after you have installed the rpms, * !!! and made sure that sshd is running and working properly !!!*, check to make sure that the file :
/etc/rc.d/init.d/sshd
exists.

As root, type :
/sbin/runlevel

It should spit out :
N 3

As root :
cd /etc/rc.d/rc#.d (where # is the number runlevel spat out, eg. cd /etc/rc.d/rc3.d )

Then :
ln -s ../init.d/sshd S99sshd

Followed by :
mv /etc/xinetd.d/telnet ~admin/

Then reboot the machine, most easily done through your Plesk interface.
Give it a minute or two to come back up, and try to telnet, you should get a connection refused message.
mmoncur
There's already an `S55sshd' link in /etc/rc.d/rc3.d after my installation, and ssh does work after rebooting. I wonder if this was left over from the previous (partial?) installation of sshd the box came with.
afriq
QUOTE
Originally posted by snowcrash
there is no need for a reboot.
when logged in as root type

/sbin/service sshd start

and enjoy icon_wink.gif

Great - that did the trick for me! Although I get this error when logging in from another Unix server:

QUOTE
sh: /usr/X11R6/bin/xauth: No such file or directory
... Any ideas?
ash
I try to setup SSH but I do not know...

1) where I can write code of setup ? by using telenet ?

2) what difference betwwen SRPMS , alpha , i386 and ia64 ?

Thanks icon_smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.