Answer the question
In order to leave comments, you need to log in
Why can't I connect via SSH (via Putty) to the local computer?
Putty throws a "putty network error connection refused" error window when trying to connect to the local machine (with ubuntu). What is the problem?
PS I am a complete delegate in administration.
Answer the question
In order to leave comments, you need to log in
Summarizing the above (and a little gag) - open the terminal and execute the commands. On the second command, he may ask for a password, this is normal, we try to enter our own. If it didn’t fit, then we are looking for the one who installed ubuntu and continue to torture him :)
1. Check if the processes actually have an SSH server.
If we see only this command in the output, set OpenSSHd
. then we try to run
If it does not appear, then the output of the following commands to the studio:
2. If the output of ps aux contains something like /usr/sbin/sshd -D, then
If there is not 0.0.0.0:22, but, for example, 0.0. 0.0:2222, then we change the port in PuTTY to 2222 (and you can also fix it in sshd_config, but that's later)
If everything is OK, then the firewall remains
and output to the studio
Well, probably not installed OpenSSH Server. By the way, why putty when there is an ssh command!
ssh [email protected] -p [specify port]
Connection refused - connection refused. This error usually occurs if no one is accepting connections on the other side, for example, the ssh service is not running.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question