实现登录免鉴权命令|公钥拷贝

公钥拷贝命令

ssh-copy-id -i <公钥地址> <用户名>@<主机地址>

示例

ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.110.26