Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa): [Enter键]
Enter passphrase (empty for no passphrase): [Enter键]
Enter same passphrase again: [Enter键]
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
43:0d:08:18:ec:9e:d6:1f:ea:5f:04:30:0f:66:26:41 root@dmz01
The key's randomart image is:
+--[ RSA 2048]----+
| oE+O. .. |
| o= =. o |
| . o . . |
| . o |
| . o S |
| + . .. . |
| . o .. |
| . .. |
| .... |
+------------------+
进入“/root/.ssh”目录,拷贝生成“authorized_keys”文件,使用命令如下: