ssh免密码登录

1.本地系统执行

ssh-keygen -t rsa

命令,生成密钥文件

2.本地机器执行命令如:

ssh-copy-id -i ~/.ssh/id_rsa.pub dss@10.164.194.42

将公钥文件传输的远程机器,并生效

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>