Date: Tue, 23 Apr 2002 01:42:01 -0700 From: "Philip J. Koenig" <pjklist@ekahuna.com> To: questions@FreeBSD.ORG Subject: SSH questions Message-ID: <20020423084157998.AAA719@empty1.ekahuna.com@pc02.ekahuna.com>
next in thread | raw e-mail | index | archive | help
I've been having issues recently connecting from one FBSD box to another. (4.3-Stable calling a 4.5-Stable box) 1) SSH is timing out after a few minutes of inactivity. (actually I'm getting "connection reset by peer" messages) The reason I don't think this is a connectivity problem is that both boxes are on pretty reliable circuits connected to the same ISP. (ie packets between them never hit the internet) I looked for some "timeout" settings in both /etc/ssh/sshd_config or ssh_config and didn't find anything but the "keep alive" setting. Are connections supposed to stay alive indefinitely by default? 2) The default ssh_config file appears to have protocol 1 as the 'default' protocol - or do I misunderstand this field? Clearly I want to use protocol 2 whenever possible because it's supposed to be more secure than v1. This is the line I'm referring to: Protocol 1,2 On the 4.3-Stable box those numbers are reversed.. but the line is commented-out. 3) Seems like it doesn't do much logging by default. (default syslog facility "AUTH", level "Info") I can see basic stuff in wtmp/lastlog but I'd like to log things like SSH protocol version, authentication method, etc. I tried changing "INFO" to "VERBOSE" and sent a HUP to sshd but it didn't seem to change much. Thx, Phil -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium 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?20020423084157998.AAA719>