设置免密登录
1)生成公钥和私钥
[kfk@bigdata-pro01 ~]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/kfk/.ssh/id_rsa):
/home/kfk/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/kfk/.ssh/id_rsa.
Your public key has been saved in /home/kfk/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:0LUJcD8XkH4jluGWhmFhJ9rw9uWe0ZM7+yP3hlcepcc kfk@bigdata-pro01.kfk.com
The key’s randomart image is:
±–[RSA 2048]----+
| o..+o. |
| Oooo . |
| o.===+o |
| o…

订阅专栏 解锁全文
2656

被折叠的 条评论
为什么被折叠?



