linux服务器免密登录
scp -p ~/.ssh/id_rsa.pub <用户名>@<ip>:/root/.ssh/authorized_keys # 例: scp -p ~/.ssh/id_rsa.pub root@47.104.166.169:/root/.ssh/authorized_keys
程序猿,要对自己狠一点!
scp -p ~/.ssh/id_rsa.pub <用户名>@<ip>:/root/.ssh/authorized_keys # 例: scp -p ~/.ssh/id_rsa.pub root@47.104.166.169:/root/.ssh/authorized_keys