[oracle@june2 ~]$ ssh 10.10.17.3
The authenticity of host '10.10.17.3 (10.10.17.3)' can't be established.
RSA key fingerprint is 1f:6c:5f:a9:fb:cc:0e:a7:e8:68:a3:d7:96:af:3b:e7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.10.17.3' (RSA) to the list of known hosts.
[email protected]'s password:
需要密码:
登陆10.10.17.2执行
[oracle@june2 ~]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/oracle/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /oracle/.ssh/id_rsa.
Your public key has been saved in /oracle/.ssh/id_rsa.pub.
The key fingerprint is:
c3:73:91:bb:9e:2a:eb:6a:45:42:f0:ff:68:2c:9c:87 oracle@june
登陆10.10.17.3执行
[oracle@june3 ~]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/oracle/.ssh/id
UNIX SSH证书认证来取代普通的密码认证
最新推荐文章于 2021-11-16 14:24:34 发布