zebedee "reverse" connection error

Ivan Savcic <imp-fCAy/[email protected]> Mon, 21 Feb 2005 01:03:34 +0100
Newsgroups gmane.comp.security.zebedee.general
Message-ID <[email protected]>
I have two machines: let's call one HOME, which has sshd accepting 
connections on port 22 and is behind NAT with a private IP address only 
and let's call the other machine WORK which has a public IP address.

I'm using zebedee to be able to connect to HOME's sshd from the outside 
world by connecting to WORK's port 2222 like this:

First, I start zebedee on WORK in client listenmode:

$ zebedee -x "connecttimeout 43200" -l 2222:*:22

Then, I start zebedee on HOME in server clienthost mode:

$ zebedee -x "connecttimeout 43200" -s -c WORK

They seem to connect properly (ie. there isn't anything strange when 
running both of them with -d -v5), I make a ssh connection successfully, 
but after a minute or so, zebedee on WORK prints an error (when ran with 
increased verbosity) and at the same time the ssh connection breaks:

zebedee(1920/16386): ERROR: failed communicating with remote server: 
(Connection reset by peer)

Any hints on this?

Thanks,
Ivan


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click