Question
SSH is not working for remote hosts
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.
×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.
×I get this:
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 104.236.191.115 [104.236.191.115] port 22.
debug1: connect to address 104.236.191.115 port 22: Operation timed out
ssh: connect to host 104.236.191.115 port 22: Operation timed out
I’ve added my local machine’s public ssh to digital ocean. I’m also using Cloud66.
Ah, yeah so I just had to add a rule in the firewall settings for Cloud66
Better yet, I can open a temporary connection through Cloud66 to increase security.
I get this…
OpenSSH7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
debug1: Reading configuration data /etc/ssh/sshconfig
debug1: /etc/ssh/sshconfig line 19: Applying options for *
debug2: resolving “139.59.24.149” port 22
debug2: sshconnect_direct: needpriv 0
debug1: Connecting to 139.59.24.149 [139.59.24.149] port 22.
I faced the same issue today. Tried all the steps mentioned here, but no success. Eventually, did a power cycle, and was able to login. The only change I had made to my droplet before this problem occurred, was adding a crontab entry to start my service at reboot. Is there a better way known to solve this SSH issue?
I am facing the same issue since yesterday and still no resolution, I tried the above steps and here where I stand, Restart the ssh didn’t work, webconsole works but not remote. Here’s the output:
OpenSSH7.2p2, LibreSSL 2.4.1
debug1: Reading configuration data /etc/ssh/sshconfig
debug1: /etc/ssh/sshconfig line 20: Applying options for *
debug2: resolving “139.59.112.218” port 22
debug2: sshconnectdirect: needpriv 0
debug1: Connecting to 139.59.112.218 [139.59.112.218] port 22.
debug1: Connection established.
debug1: keyloadpublic: No such file or directory
debug1: identity file /Users/Raj/.ssh/idrsa type -1
debug1: keyloadpublic: No such file or directory
debug1: identity file /Users/Raj/.ssh/idrsa-cert type -1
debug1: keyloadpublic: No such file or directory
debug1: identity file /Users/Raj/.ssh/iddsa type -1
debug1: keyloadpublic: No such file or directory
debug1: identity file /Users/Raj/.ssh/iddsa-cert type -1
debug1: keyloadpublic: No such file or directory
debug1: identity file /Users/Raj/.ssh/idecdsa type -1
debug1: keyloadpublic: No such file or directory
debug1: identity file /Users/Raj/.ssh/idecdsa-cert type -1
debug1: keyloadpublic: No such file or directory
debug1: identity file /Users/Raj/.ssh/ided25519 type -1
debug1: keyloadpublic: No such file or directory
debug1: identity file /Users/Raj/.ssh/ided25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH7.2
sshexchangeidentification: read: Connection reset by peer