sudo vi /etc/ssh/sshd_config
sudo systemctl restart sshd
laptop1:~ yourname$ ssh-keygen
Generating public/private rsa key pair.
1. enter file name
2. enter pass for key or not. If not when ssh don't need pass to ssh with key
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server
(using with public key. NOT private key)
ssh -i ~/.ssh/custom_key_name SYSUSER@x.x.x.x