If your SSH server is visible over the Internet, you should use public key authentication instead of passwords if at all possible.To create your public and private SSH keys on the command-line::
ssh-keygen -t rsaResult:
user@user:/home/user/.ssh$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/user/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in id_rsa. Your public key has been saved in id_rsa.pub.Your public key is now available as .ssh/id_rsa.pub in your home folder. For login to server by SSH key run:
Stepozer 2021 all rights reserved.