ssh-copy-id用法

记录一下,怕日后忘记了!

ssh-keygen -t rsa



把公钥拷贝其他端口的服务器上:

    ssh-copy-id -i ~/.ssh/id_rsa.pub "-p 10022 user@server"

你可能感兴趣的:(服务器,记录)