I can start a openssh-server successfully. But can not connect to it.
Windows Version: Windows 10 pro 1703
OS Version: 15063.483
This is how i start the openssh-server:
Modify the sshd config
sudo vi /etc/ssh/sshd_config
ListenAddress 0.0.0.0
UsePrivilegeSeparation no
PasswordAuthentication yes
start the openssh-server: sudo service ssh start
sudo service ssh status
, and return * sshd is running
I can see the sshd
process in windows task manager, But I can't find the 22 port if i run netstat -an
in cmd.
Please help :(
In fact, I don't know how to solve this question exactly. But I tried these steps when I met the same.
sudo apt-get remove openssh-server
and re-install it And then it can be connected at last. So I don't know what is the Key step to solve this question.
Hope it helps.