ubuntu@linux:~$ sudo apt-get install openssh-client
[sudo] password for ubuntu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-client is already the newest version (1:7.2p2-4ubuntu1).
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-22 linux-headers-4.4.0-22-generic linux-headers-4.4.0-24
linux-headers-4.4.0-24-generic linux-image-4.4.0-22-generic
linux-image-4.4.0-24-generic linux-image-extra-4.4.0-22-generic
linux-image-extra-4.4.0-24-generic linux-signed-image-4.4.0-22-generic
linux-signed-image-4.4.0-24-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
ubuntu@linux:~$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/ubuntu/.ssh/id_rsa):