issue connecting with ssh - Ask Ubuntu


i having issue can't ssh server. having @ logs on server, finished , closed connection. tried connecting again got message: ssh: connect host serverip port 22: connection refused.

here debug log:

xxxxx:~ xxxxxx$ ssh -vvvv xxxxx@serverip openssh_6.9p1, libressl 2.1.8 debug1: reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 21: applying options * debug2: ssh_connect: needpriv 0 debug1: connecting serverip [serverip] port 22. debug1: connect address serverip port 22: connection refused ssh: connect host serverip port 22: connection refused 

i can see refers line 21 nothing changed in config file, idea causing this?

connection refused generic socket/service related error, typically shown when establishing socket remote endpoint has no listener on desired port.

in case remote server must not have ssh daemon running, not have listening on port 22 (presumably), or highly unlikely possibility ssh daemon having issues.

so make sure ssh daemon running (and functioning properly) on remote host trying connect to.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User