Remote server/host access using SSH
Secure Shell (SSH) is a protocol that is used to log onto remote systems securely and is the most commonly used method for accessing remote Linux systems.
Getting ready
To see how to use SSH, you need two Ubuntu systems. One will be used as the server and the other as the client.
How to do it...
To use SSH, you can use freely available software called OpenSSH. Once the software is installed, it can be used by the ssh
 command. We will look at how to use this tool in detail:
- If OpenSSH server is not already installed, it can be installed using the following command:
sudo apt-get install openssh-server
- Next, we need to install the client version of the software:
sudo apt-get install openssh-client
- For the latest versions, the SSH service starts running as soon as the software is installed. If it is not running by default, we can start the service by using the command:
sudo service ssh start
- Now, to log in to the server from any other system using SSH, you can use the...