root登录
sudo passwd root
#设置密码
su root
kali的汉化
- ctrl+alt+t,打开终端,在终端中执行
dpkg-reconfigure locales
en_US.UTF-8 UTF-8
改为不勾选,按下空格
- 勾选
zh-CN.UTF-8 UTF-8
,按下回车选择第三个。若有zh_CN.GBK GBK
也一起勾选上,没有就不用。
- 重启之后,会有个提示,选择保留旧名称
kali开启ssh服务
sudo vi /etc/ssh/sshd_config
# PasswordAuthentication yes
的“#”去掉- 修改
PermitrootLogin prohibit-password
为PermitRootLogin yes
sudo service ssh restart
,重启ssh服务。sudo service ssh status
,查看ssh服务