Use OpenSSH to control remote Ubuntu desktops

OpenSSH is a freely available version of the Secure Shell (SSH) protocol family of tools for remotely controlling a computer or transferring files between computers. Traditional tools used to accomplish these functions, such as telnet or rcp, are insecure and transmit the user's password in cleartext when used. OpenSSH provides a server daemon and client tools to facilitate secure, encrypted remote control and file transfer operations, effectively replacing the legacy tools.
The OpenSSH server component, sshd, listens continuously for client connections from any of the client tools. When a connection request occurs, sshd sets up the correct connection depending on the type of client tool connecting. For example, if the remote computer is connecting with the ssh client application, the OpenSSH server sets up a remote control session after authentication. If a remote user connects to an OpenSSH server with scp, the OpenSSH server daemon initiates a secure copy of files between the server and client after authentication. OpenSSH can use many authentication methods, including plain password, public key, and Kerberos tickets.
You can install the OpenSSH client using the following commands:
sudo apt-get install openssh-client
For the installation of the OpenSSH server use this command:
sudo apt-get install openssh-server
How do I use ssh client?
Assuming that your server hostname is and username is vivek, you need to type the following command:
To stop ssh server, enter:
sudo /etc/init.d/ssh stop
To start sshs server, enter:
sudo /etc/init.d/ssh start
To restart ssh server, enter:
sudo /etc/init.d/ssh restart
Alternatively you can also install a client SSH application from the Ubuntu Software Center (for example Remmina Remote Desktop Client).
For further information please visit: