ssh-copy-id user@remote-server-ip user你的用户 remote-server-ip 你的远程服务器ip 这样就可以把你电脑的公钥copy到远程服务器了,下次登录不用密码了