linux 虛擬機免密碼遠程連接linux系統(ssh + 公鑰&祕鑰)

1. 在虛擬機終端,輸入 ssh-keygen ,一路回車。  2.確保 ssh [email protected]_ip   (如,ssh [email protected] )輸入密碼,能夠正常訪問遠程主機。  3. 在虛擬機終端,輸入 ssh-copy-id  [email protected]_ip  (如  ssh-copy-id [email protected]),一路回車。 4.
相關文章
相關標籤/搜索