開啟SSH 使用SSH登錄工具連接虛擬機


修改sshd_config文件,命令為:
vi /etc/ssh/sshd_config
將#PermitRootLogin without-password注釋去掉修改為
PermitRootLogin yes

將#PasswordAuthentication no的注釋去掉,並且
將NO修改為YES //kali中默認是yes

 

 保存,退出
啟動SSH服務
命令為:
/etc/init.d/ssh start
或者
service ssh start
在這里插入圖片描述
查看SSH服務狀態是否正常運行,命令為:
/etc/init.d/ssh status
或者
service ssh status
在這里插入圖片描述
使用SSH登錄工具(Putty\SecureCRT\XShell)就可以登錄kali


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM