Home > About Myself, Programming, Technology > Open-ssh Server installation in ubuntu

Open-ssh Server installation in ubuntu

If you want to remotely login to any system which is running linux you can do so by using ssh command which is very famous for its security awareness. In ssh all the communication via port 22 is encrypted unlike other communication protocols such as TELNET, ftp, rlogin etc., where all the data and passwords can be hacked.

In all the flavors of linux there is no guarantee that ssh is pre installed. Particularly I’m running ubuntu LT 10.04 in which it is not pre-installed. We have install it manually. Openssh is a free open source version of ssh protocol implementation.

We can install openssh client and server using the below command

# sudo apt-get install openssh-server openssh-client

then we can test it by using

ssh localhost
# ssh user@your-server-ip-address
Ex: #ssh sshVasnath@vasanth

if you want to get the sudo privileges to sshVasanth user running on the machine IP address, you should
use the run the following command in the server( with sudo

# sudo adduser <ACCOUNTNAME> admin

Ex: sudo adduser sshVasanth admin
  1. June 27, 2011 at 2:08 pm

    good post for newbies of linux.
    May be you should add the part of adding keys to server so as to do passwordless login..

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: