Question
ssh: connect to host 188.xxx port 22: Connection refused - root and sudo user
Hi,
After editing sshd_config to enable remote login - I wasn’t able to log into SSH again.
the bad thing was, I exited SSH so I can’t log into SSH again.
here’s the error
<^>OpenSSH6.9p1, LibreSSL 2.1.7
debug1: Reading configuration data /etc/ssh/sshconfig
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to [myIP] port 22.
debug1: connect to address [myIP] port 22: Connection refused
ssh: connect to host [myIP] port 22: Connection refused<^>
Is there a solution to log in back to SSH? Should I log into console and then do anything?
Please help, thanks!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×