Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2002 20:39:12 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Michelle Weeks <tristan11@mindspring.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ssh write failed
Message-ID:  <20021008193912.GA30598@happy-idiot-talk.infracaninophi>
In-Reply-To: <8F3A3AAF-DADC-11D6-B3C9-00039368B8EC@mindspring.com>
References:  <000701c26ee9$8b49cc60$0764a8c0@cyberzone.odessos.org> <8F3A3AAF-DADC-11D6-B3C9-00039368B8EC@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 08, 2002 at 09:39:48AM -0700, Michelle Weeks wrote:
> i am having problems using ssh to login remotely to our freebsd 4.6.2 
> server.  whenever i remain inactive for more than a few minutes, i get 
> kicked out.  when i log back in, i get the following error:
> 
> Oct  8 10:35:16 louie sshd[18801]: fatal: Write failed: Permission denied
> Oct  8 10:35:16 louie sshd[18801]: fatal: Write failed: Permission denied
> 
> i'm not sure what could be causing this?

ipfw, probably.  Sounds like a dynamic rule is timing out in the
middle of your ssh session.  You'll either have to switch to using
static rules for ssh, of tweak the dynamic ruleset timing sysctls to
something that suits you better.

If you were running a recent version of -STABLE, you could have tried
the IPFW2 stuff --- it has a "keepalive" feature that prevents this
sort of annoyance.  Add:

    options IPFW2

to your kernel config, and

    IPFW2=yes

to /etc/make.conf, and go through the usual {build,install}procedure.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021008193912.GA30598>