segunda-feira, 5 de julho de 2021

Using ssh key for authorization

First, generate your key: 
ssh-keygen
Then copy the key around on your servers/desktops: 
ssh-copy-id -i .ssh/id_rsa.pub user@ip-address 
That's all. You will never be asked for the password again. 
I also recommend removing password authorization in general but that's up to you.