我无法将 SSH 生成的密钥提及到我的测试节点。
这是我每次运行命令时得到的输出ssh-copy-id
:
aibak@aibak-Inspiron-3542:/$ ssh-copy-id testnode
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: ERROR: ssh: Could not resolve hostname testnode: Temporarily failure in name resolution