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

Re: ssh dies after a few minutes



I use the same redirection without the -n option. It works for me just
fine. The connection stays inactive for days and doesn't get
disconnected. You might want to try -v for debugging. You might want to
check the 'KeepAlive' and 'IdleTimeout' in sshd global config on the
server site.

CIGAN.

On Tue, 11 May 1999, Itamar S.-T. wrote:

|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        |
|
|