“If you are using SSH frequently to connect to a remote host,
one of the way to secure the connection is to use a public/private
SSH key so no password is transmitted over the network and it can
prevent against brute force attack.
In Linux, creating a public/private SSH key is easy.
1. Open a terminal. Type:ssh -keygen -t rsa