Q. I have just installed Ubuntu 6.06 and I would like to allow remote login to my system from home via ssh. How do I install and configure SSH server?
A. OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.
Ubuntu SSHD Installation
Type the following two command to install both ssh client and server:
# sudo apt-get install openssh-server openssh-clientSSHD Configuration
To be frank your server is ready by default. Just test it from your home computer or from same system with the command:
OR
# ssh localhostOR
# ssh user@your-server-ip-addressHow do I use ssh client?
Assuming that your server hostname is userver.mydomain.com and username is vivek, you need to type the following command:
To stop ssh server, enter:
To start sshs server, enter:
To restart ssh server, enter:
# ssh vivek@userver.mydomain.comTo stop ssh server, enter:
# sudo /etc/init.d/ssh stopTo start sshs server, enter:
# sudo /etc/init.d/ssh startTo restart ssh server, enter:
# sudo /etc/init.d/ssh restart
No comments:
Post a Comment