[圖檔上傳中。。。(1)]登入ssh,退出exit
為網卡添加其他網段資訊
enp3s0:0是新加的虛拟網卡
設定 root 密碼
測試是否連接配接上 github
ssh -T [email protected]
測試 ssh 登入
檢視是否安裝 ssh server(未發現 sshd)
image.png
設定 ssh root 登入
``` @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the ECDSA key sent by the remote host is SHA256:WWtVaTtCCpohoilVU4/21SJvNSjAyCJ2q3VW9KmMNf0. Please contact your system administrator. Add correct host key in /Users/GrandKai/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /Users/GrandKai/.ssh/known_hosts:10 ECDSA host key for 192.168.1.102 has changed and you have requested strict checking. Host key verification failed. 由于伺服器重新安裝系統了,是以會出現以上錯誤。 ssh-keygen -l -f ~/.ssh/known_hosts ssh-keygen -R 伺服器端的ip位址