I have 3 computers running ssh server on them:
- PC1 is running Cygwin on Windows
- PC2 is also running Cygwin on Windows
- PC3 is running Linux
and they are on the same network connected to same router.
I can connect to all 3 of these locally. Funny thing is I can't connect to PC2 and PC3 remotely (but I can access PC1 remotely). I forwarded the ports of PC1, PC2 and PC3 in same way and used a custom port.
This is the same error message I get when trying to connect to PC2 and PC3 remotely:
$ ssh -l username username@externalIP -vvv Reading configuration data /etc/ssh_config ssh_connect: needpriv 0 Connecting to externalIP [externalIP] port X. connect to address externalIP port X: Connection timed out ssh: connect to host externalIP port X: Connection timed out
I can access PC2 remotely using remote desktop