Prerequisites:
- ssh version > 7.3
How to know ssh installed version:
- Execute:
$ ssh -V
Configure SSH to use includes from ~/.ssh/config.d directory
Although we can install Docker and Docker Compose from the official Ubuntu repositories, they are several minor versions behind the latest release. So, we'll install Docker following the official documentation page (https://docs.docker.com/install/linux/docker-ce/ubuntu/).
# Uninstall old versions
$ sudo apt-get remove docker docker-engine docker.io containerd runc
$ ssh-keygen -o -a 100 -t ed25519
Generating public/private ed25519 key pair.
Enter file in which to save the key (/home/caste/.ssh/id_ed25519):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/gert/.ssh/id_ed25519.
Your public key has been saved in /home/gert/.ssh/id_ed25519.pub.