Closed sunmingtao closed 3 years ago
ssh-keygen (accept default value, enter, enter)
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
ssh remote-host remote host doesn't ask for password
ssh remote-host
Trouble shooting: https://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/
ssh-keygen
(accept default value, enter, enter)ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
ssh remote-host
remote host doesn't ask for passwordTrouble shooting: https://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/