ssh tunnel problems

Rick Bilonick rab at nauticom.net
Sat Jun 21 03:20:03 UTC 2008


I'm using Fedora 8 on a server behind a firewall (with incoming ssh
blocked) and my computer at home.

I did the following on the server:

> ssh -R 5000:localhost:22 me at home

which connected to my home computer after I entered the password. (I
could list files, etc.) I also set up /etc/ssh/sshd_config on the server
to keep the connection open.

At home I entered (using the password for user=server on the server):

> ssh server at localhost -p 5000
ssh: connect to host localhost port 5000: Connection refused

I've tried adding:

sshd : ALL : allow
portmap : ALL : allow

to /etc/hosts.allow but still get the same message. I have no idea why
I'm not able to connect to the server through the ssh connection. I can
ssh out from the home computer to other servers with port 22 not
blocked.

Rick B.




More information about the users mailing list