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

ssh: connection reset error & where's the error log?



Hello everyone,

largely due to everyone's help I now have nfs over ssh up and
runningbetween my home network (two computers behind an SMC Barricade
router) and my work ((a computer which sits directly on the Internet). Recently two things have been happening>

- the connection has slowed dramatically (ls on a largish directory
takes sometimes about a minute to respond)

- the connection keeps getting broken, usually with a "reset by peer"
error message.  I've played around with KeepAlive and
ProtocolKeepAlives in the ssh_config and sshd_config files, but
haven't had any luck fixing the problem (I don't quite understand what
the keepalive signals do -- do they tell the other computer not to
break the connection? or do they let the signal sender know that now
would be a good time to break it?  The language in the man pages seems to suggest both...)

Anyway, mostly I want to fix this problem, but I also would like to
set up ssh so that error messages are logged somewhere that I can
check regularly.  Right now ssh doesn"t seem to put messages anywhere,
while ssh writes them directly to stderr.  I couldn't find a "logfile"
config option in either of the _config files.  Am I missing something?

anyway, thanks,
matt



Reply to: