您第一次连接到主机时,系统会询问您是否需要将远程主机公钥的副本保存在“已知主机”文件中(请参见清单5)。
The first time you connect to a host, the system asks if you want to keep a copy of the remote hosts public key in your 'known hosts' file (see Listing 5).
SSH的主要优点之一是,通过将您的公钥复制到一台远程计算机,您可以绕过正常的登录和密码交换。
One of the main benefits of SSH is that you can bypass the normal login and password exchange by copying your public key to a remote machine.
请记住,如果您尚未与这台远程主机交换您的公钥,那么清单1中的序列需要您输入一个密码。
Bear in mind that the sequence in Listing 1 requires you to enter a password if you haven't already exchanged your public key with the remote host.
应用推荐