I
I
Ilya Beloborodov2016-04-27 10:52:48
SSH
Ilya Beloborodov, 2016-04-27 10:52:48

Why Connection refused?

Through the terminal I connect via ssh
But the Connection refused
error What could it be? Googled, but did not find a solution.
MAC OS

ssh -v [email protected]
OpenSSH_6.9p1, LibreSSL 2.1.7
debug1: Reading configuration data /Users/xpage/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to 93.190.40.35 [93.190.40.35] port 22.
debug1: connect to address 93.190.40.35 port 22: Connection refused
ssh: connect to host 93.190.40.35 port 22: Connection refused

If I understand you correctly
telnet 93.190.40.35
Trying 93.190.40.35...
telnet: connect to address 93.190.40.35: Connection refused
telnet: Unable to connect to remote host

what could that mean?
telnet 93.190.40.35 2087
Trying 93.190.40.35...
Connected to 93.190.40.35.
Escape character is '^]'.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2016-04-27
@kowap

$ telnet 93.190.40.35 22
Trying 93.190.40.35...
telnet: connect to address 93.190.40.35: Connection refused
telnet: Unable to connect to remote host

Apparently the port is closed
what could that mean?
telnet 93.190.40.35 2087
Trying 93.190.40.35...
Connected to 93.190.40.35.
Escape character is '^]'.

The fact that port 2087 is open on this server, and some service "listens" on this port "hangs" on it
Free hint:
ssh hangs on port 2222
Connect like this:
ssh -p2222 [email protected]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question