ssh-copy-id testnode 失敗並顯示錯誤:ssh:無法解析主機名稱 testnode:名稱解析暫時失敗

ssh-copy-id testnode 失敗並顯示錯誤:ssh:無法解析主機名稱 testnode:名稱解析暫時失敗

我無法向我的測試節點提及 SSH 產生的金鑰。

這是每當我運行命令時得到的輸出ssh-copy-id

當我運行命令“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

相關內容