注意:如果使用的是WSL安装的ubuntu/debian,那么你需要先卸载:#sudo apt remove openssh-server#sudo apt install openssh-server安装完成后SSH 服务默认开启手动启动:#systemctl start ssh.service修改配置:nano /etc/ssh/sshd_configPermitRootLogin yesPasswordAuthentication yes