https://mingsec.com
启用SSH
vi /etc/ssh/sshd_config #修改config文件内容
PermitRootLogin yes #修改内容
PasswordAuthentication yes #修改内容
修改完成示例:
root@kali:~# vi /etc/ssh/sshd_config
# possible, but leave them commented. Uncommented options override the
# default value.
#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
#HostKey /etc/ssh/ssh_host_ed25519_key
# Ciphers and keying
#RekeyLimit default none
# Logging
#SyslogFacility AUTH
#LogLevel INFO
# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
#PubkeyAuthentication yes
# Expect .ssh/authorized_keys2 to be disregarded by default in future.
#AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2
#Auth

本文档介绍了如何在Kali Linux系统中启用SSH服务,并设置其在启动时自动运行,以实现远程访问。
最低0.47元/天 解锁文章
2万+

被折叠的 条评论
为什么被折叠?



