https://www.notion.so/SSH-9c7161e25674433ebef768b7eaff757c
Log into server with SSH keys
Generate SSH keys
1
ssh-keygen -t rsa
Your keys will be created at ~/.ssh/id_rsa.pub and ~/.ssh/id_rsa
Transfer Your Public Key to the Server
1
ssh-copy-id root@server-ip