Using ssh-keygen to produce private key (~/.ssh/id_rsa) 和 public key (~/.ssh/id_rsa.pub)
When execute ssh-keygen you meet passphrase then press Enter to skip it.
2. HOST B
Private key keep it.
Content of public key write in ~/.ssh/authorized_keys of HOST B
Reference :
SSH Login in without password
0 意見:
張貼留言