换apt源
sudo vim /etc/apt/sources.list
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
sudo apt update
sudo apt full-upgrade
取消sudo密码
远程连接
启动SSHsudo /etc/init.d/ssh start