换apt源

sudo vim /etc/apt/sources.list

  1. deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
  2. deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

sudo apt update
sudo apt full-upgrade

取消sudo密码

image.png

远程连接

image.png
启动SSH
sudo /etc/init.d/ssh start
image.png
image.png