To SSH login to the remote server without entering password (by using SSH keys)
# cat ~/.ssh/id_rsa.pub | ssh USER@HOST "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
Reference:
https://askubuntu.com/questions/46424/adding-ssh-keys-to-authorized-keys
Tuesday, February 27, 2018
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment