1

1.获取公钥和私钥

ssh-keygen 然后一直回车即可

2.用ssh-copy-id将公钥复制到远程机器中

ssh-copy-id -i .ssh/id_rsa.pub 用户名字@192.168.x.xxx


mark
24 声望4 粉丝