Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- reverse ssh - why connection refused?
March 24, 2010, 2:38 pm
rate this thread
5 out of 5
5 out of 5
connection through a gsm router. This router is unable to open incoming
ports that's why I try to establish a reverse SSH tunnel to my PC.
When I connect my PC in the remote LAN directly reverse SSH works like a
charm but I am unable to establish a connection via internet.
This is what I did:
On my router/my LAN I opened port 5555 and forwarded it to my PC
On the remote server I started with:
ssh -vvv -nnT4 -R 5555:localhost:22 myuserid@myLANpublicIP
This is what happens:
debug1: Reading configuration data /home/harald/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to myLANpublicIP [myLANpublicIP] port 22.
debug1: connect to address myLANpublicIP port 22: Connection refused
ssh: connect to host myLANpublicIP port 22: Connection refused
Any ideas how to narrow down the prob?
THX in advance
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum