-
Notifications
You must be signed in to change notification settings - Fork 854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to ssh localhost #3173
Comments
I finally fixed it with two steps!
sudo apt-get remove openssh-client openssh-server
sudo apt-get install openssh-client openssh-server |
Doesn't work and now can't even reinstall SSH.
|
I tried everything, but it still doesn't work.Always Connection refused. |
Just create Directory "/var/run/sshd" or "/run/sshd" on sshd server, then it's working. |
I have tried some ways from @issues2729, but still failed to ssh localhost.
I tried to shut down the windows internal ssh server in services.msc. But it can't help.
The text was updated successfully, but these errors were encountered: