News Register Control Panel Private Messages Members List Team Search News Posts About Us
 

Installing ssh and sshd
  Author: Ravish Ahuja
Added: 12/01/2002
Type: Tutorial
Viewed: 897 time(s)
Average visitor rating of 8.4/10Average visitor rating of 8.4/10Average visitor rating of 8.4/10Average visitor rating of 8.4/10Average visitor rating of 8.4/10Average visitor rating of 8.4/10Average visitor rating of 8.4/10Average visitor rating of 8.4/10Average visitor rating of 8.4/10Average visitor rating of 8.4/10
Download and Install

First of all move to directory /usr/local by typing.
cd /usr/local

Download the ssh deamon and client from ftp://ftp.cis.fed.gov/pub/ssh/ssh-2.4.0.tar.gz by typing.
Get ftp://ftp.cis.fed.gov/pub/ssh/ssh-2.4.0.tar.gz

Now, decompress the archieve by syntax.
tar -xzvf ssh-2.4.0.tar.gz

Follow the following steps for further installation.
cd ssh-2.4~.0
./configure
make
make install

If you got everything right you must have successfully compiled ssh & sshd. You can start sshd by typing.
/usr/local/sbin/sshd

But if you need autostart sshd at boot then you need to add following lines to /etc/rc.d/rc.local.
echo Starting SSH Daemon
/usr/local/sbin/sshd

Now you are done and you can ssh into a machine by typing.
ssh machine.ip.goes.here


Article Pages:  1  




How would you rate this article:    Bad Good   Go � 


� Copyright Linux Advisory 2003. All rights reserved.
We are not responsible for the comment and story contributed by users.