<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Rick Bilonick wrote:
<blockquote cite="mid:1214018403.6290.13.camel@localhost.localdomain"
type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">ssh -R 5000:localhost:22 me@home
</pre>
</blockquote>
<pre wrap=""><!---->
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):
</pre>
<blockquote type="cite">
<pre wrap="">ssh server@localhost -p 5000
</pre>
</blockquote>
<pre wrap=""><!---->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.
</pre>
</blockquote>
Rick,<br>
<br>
On your home machine, does a netstat -an | grep 5000 show you a
listening port? When do you get if you add the -v flag to your
connection attempt from your home computer?<br>
<br>
FWIW, your use of localhost on both the server side and the home side
makes this a very confusing read.<br>
<br>
Kevin<br>
</body>
</html>