I am trying to connect to my server (Synology DS212) using ssh xxx@yyy -p 22222 -vvv
but I can't and I obtain the following error:
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/xxxxx/.ssh/config
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 yyyyyyy [xx.xx.xx.xx] port 22222.
debug1: Connection established.
debug1: identity file /Users/xxxxx/.ssh/id_rsa type -1
debug1: identity file /Users/xxxxx/.ssh/id_rsa-cert type -1
debug1: identity file /Users/xxxxx/.ssh/id_dsa type -1
debug1: identity file /Users/xxxxx/.ssh/id_dsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
ssh_exchange_identification: read: Operation timed out
The connection works on an other computer but not on mine (macbook pro). This connection does not use any keys (even when I have deleted them it did not work).
Do you have any idea of the trouble?
Feeback: The issue is due to the configuration of the network on which I executed ssh xxx@yyy -p 22222 -vvv
. The router allows me to open connections on every ports but it blocks every incoming connections on non standard port for ssh (non 22 port). In my case, there are non solution.
Advices: try tcpdump
on computer and server at the same time for monitor incoming and outgoing connections.