SSH免密码登录 - yiyixiaozhi/readingNotes GitHub Wiki

SSH免密码登录

本地先生成ssh key,

安装指令:

ianxh:blogSrc bianxh$ ssh-copy-id [email protected]
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/Users/bianxh/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
[email protected]'s password:

Number of key(s) added:        1

Now try logging into the machine, with:   "ssh '[email protected]'"
and check to make sure that only the key(s) you wanted were added.

bianxh:blogSrc bianxh$
⚠️ **GitHub.com Fallback** ⚠️