Friday, September 23, 2011

Beginning SSH on Ubuntu

Hi friends I'm going to share my experience of using ssh to control remote server.

Its pretty easy to install a ssh on your system, newer versions of Ubuntu comes with pre-installed openshh, to install shh you can use

sudo apt-get install openssh-client openssh-server
Using ssh to login into a remote machine
ssh yourusername@yourdomainname
yourusername :- username that you have  got access in the remote machine
yourdomainname :domain of the remote machine

for example sudev@192.168.71.192
where my username is 'sudev' and ip of the remote machine is '192.168.71.192'

  • After entering the first command you will asked to ensure some security measures type 'yes' and press enter.
  • you will be asked to enter your password(i e the password of the 'yourusername' of remote machine)
Now you can easily run all the commands over the remote machine.

                                    ... to be continued