- Install ssh :
sudo apt-get install ssh
- Enable and start ssh:
sudo systemctl enable ssh
&sudo ssh start
- Connect to a host:
ssh <username>@<host address>
- Connect to a host with non-default port:
ssh <username>@<host address> -p <port>
- Connect to a host using private key:
ssh -i <keyfile> <username>@<host address>