I cannot connect using the ssh root access

ssh_exchange_identification is the error message i get trying to connect via terminal

2 Replies

I took a look into the error message that you're seeing and it looks like the issue could be related to a few different things. Your best bet for starting your troubleshooting is to get a verbose output to give you some additional information as to where the SSH connection is failing. The following command can help you with that:

ssh -vvv root@$ipAddress

Once you've got that output, you should be able to get moving in the right direction. I found the following post that's got some great troubleshooting tips for when you get your verbose output.

As always, you can also paste your output back into this back into this post so our Community can chime in. 🙂

macs-MBP:~ mac$ ssh -vvv root@$178.79.128.45
OpenSSH_7.8p1, LibreSSL 2.6.2
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug2: resolve_canonicalize: hostname 78.79.128.45 is address
debug2: ssh_connect_direct
debug1: Connecting to 78.79.128.45 [78.79.128.45] port 22.
debug1: connect to address 78.79.128.45 port 22: Operation timed out
ssh: connect to host 78.79.128.45 port 22: Operation timed out

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct