目的:本地xshell连接Kali Linux。
步骤:
1.修改kali Linux的配置文件。
vim /etc/ssh/sshd_config #进入配置文件
去掉PasswordAuthentication 前的#号,且后面跟yes。
去掉PermitRootLogin 前的#号,且后面跟yes。
2.开启ssh服务。
service ssh start
service ssh stop #关闭服务
查看状态:
service
目的:本地xshell连接Kali Linux。
步骤:
1.修改kali Linux的配置文件。
vim /etc/ssh/sshd_config #进入配置文件
去掉PasswordAuthentication 前的#号,且后面跟yes。
去掉PermitRootLogin 前的#号,且后面跟yes。
2.开启ssh服务。
service ssh start
service ssh stop #关闭服务
查看状态:
service