ssh-copy-id 複製公鑰到遠程server

 

ssh-copy-id -i ~/.ssh/mykey.pub user@host

 

複製完成後能夠測試:bash

ssh -i ~/.ssh/mykey user@host
相關文章
相關標籤/搜索