1
當我嘗試運行ssh-copy-id
然後我收到以下錯誤:無法複製RSA密鑰
[email protected]:~/.ssh$ ssh-copy-id [email protected]
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/abcd/.ssh/id_rsa.pub"
/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: connect to host targetHostIP port 22: Connection timed out
我試圖ssh-copy-id -i <path_of_id_rsa.pub> [email protected]
也不過同樣的錯誤。
歡迎
ssh
到targetHostIP
貼在年底的StackOverflow!本網站旨在作爲編程問答。對於這樣的關於服務器配置的問題,您可能想要前往http://SuperUser.com。 – ghoti