kail開啓ssh連接

kail的ssh功能是默認關閉的,當我們想進行ssh連接時,就要進行一些配置 1.修改sshd_config文件 在終端輸入vim /etc/ssh/sshd_config,對打開的文件進行修改 1)將#PasswordAuthentication yes前面的#刪除 2)增加一行PermitRootLogin yes 2.啓動ssh服務 在終端輸入 /etc/init.d/ssh start
相關文章
相關標籤/搜索