[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ssh dies after a few minutes



I'm trying to use ssh for encrypting a ftp session:
	ssh -n -L 1111:www.example.com:21 -g www.example.com

it works fine, but after a few minutes the ssh connection dies and says:
	Read from remote host www.example.com: Connection reset by peer

How do I prevent this from happening?

-- 
Itamar - itamars@ibm.net
-----------------------------o-------------------------------------o
Whole Pop Magazine Online    | The only good morning is a dead one |
 http://www.wholepop.com/    |          -- Richard Stallman        |