Installing ssh and sshd
Use of telnet is not that secure as you may think as telnet's sessions can be easily hijacked. So, you can improve your security by moving on to a secure & encrypted network with ssh.
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





This article comes from osforge.com
http://www.osforge.com

The URL for this story is:
http://www.osforge.com/viewtutorial54.html