试了网上各种方法,最后发现是linux 的 ssh不行
装一下ssh
systemctl status ssh或者sshd
如果没有,装一下,比如
sudo apt install openssh
#或者是
sudo apt install openssh-server
systemctl enable ssh
试了网上各种方法,最后发现是linux 的 ssh不行
装一下ssh
systemctl status ssh或者sshd
如果没有,装一下,比如
sudo apt install openssh
#或者是
sudo apt install openssh-server
systemctl enable ssh