Re: Linksys router and ssh time outs ...

2006-07-10 Thread Ted Mittelstaedt

- Original Message - 
From: User Freebsd [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Friday, July 07, 2006 11:20 PM
Subject: Linksys router and ssh time outs ...



 I just put a linksys router in place, so that we could use our wireless
 laptop, well, wireless ... now, I seem to be getting timeouts on my ssh
 connections when they are idle, but timeouts that I never received when I
 had my desktop directly connected to the cable modem ...

 I've looked at the settings for the Linksys, and can't find anything that
 might be related ... is there some keepalive that the linksys might be
 blocking, or something else that I can do to keep the connection from
 dropping?


Some of the Netgear routers allow you to telnet into the router and change
a config setting for the timeouts for specific protocols.  But I've never
heard the linksys allowing this.

You might be lucky and your linksys might be one of the ones that can
run an alternative firmware.  If so, flash it to one of the open source
firmwares and it should fix the problem.

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linksys router and ssh time outs ...

2006-07-10 Thread Doug Hardie


On Jul 10, 2006, at 00:11, Ted Mittelstaedt wrote:



From: User Freebsd [EMAIL PROTECTED]


I just put a linksys router in place, so that we could use our  
wireless
laptop, well, wireless ... now, I seem to be getting timeouts on  
my ssh
connections when they are idle, but timeouts that I never received  
when I

had my desktop directly connected to the cable modem ...

I've looked at the settings for the Linksys, and can't find  
anything that
might be related ... is there some keepalive that the linksys  
might be

blocking, or something else that I can do to keep the connection from
dropping?



Some of the Netgear routers allow you to telnet into the router and  
change
a config setting for the timeouts for specific protocols.  But I've  
never

heard the linksys allowing this.

You might be lucky and your linksys might be one of the ones that can
run an alternative firmware.  If so, flash it to one of the open  
source

firmwares and it should fix the problem.


You can also put lines like:

ServerAliveInterval 300
ServerAliveCountMax 3


in ssh_config.  That will cause ssh to send periodic alive messages.   
I use those to avoid the same problem.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Linksys router and ssh time outs ...

2006-07-08 Thread User Freebsd


I just put a linksys router in place, so that we could use our wireless 
laptop, well, wireless ... now, I seem to be getting timeouts on my ssh 
connections when they are idle, but timeouts that I never received when I 
had my desktop directly connected to the cable modem ...


I've looked at the settings for the Linksys, and can't find anything that 
might be related ... is there some keepalive that the linksys might be 
blocking, or something else that I can do to keep the connection from 
dropping?


Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linksys router and ssh time outs ...

2006-07-08 Thread Eric

User Freebsd wrote:


I just put a linksys router in place, so that we could use our 
wireless laptop, well, wireless ... now, I seem to be getting timeouts 
on my ssh connections when they are idle, but timeouts that I never 
received when I had my desktop directly connected to the cable modem ...


I've looked at the settings for the Linksys, and can't find anything 
that might be related ... is there some keepalive that the linksys 
might be blocking, or something else that I can do to keep the 
connection from dropping?


Thanks ...


Putty has an option to send keep alives every few seconds as does 
SecureCRT.  are you using that? More than likely the firewall in the 
linksys is killing the connection after 5 minutes of inactivity. My 
sonicwall was doing the same until i started using the keepalive. set it 
to like 30 seconds to start and go from there

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linksys router and ssh time outs ...

2006-07-08 Thread User Freebsd

On Sat, 8 Jul 2006, Eric wrote:


User Freebsd wrote:


I just put a linksys router in place, so that we could use our wireless 
laptop, well, wireless ... now, I seem to be getting timeouts on my ssh 
connections when they are idle, but timeouts that I never received when I 
had my desktop directly connected to the cable modem ...


I've looked at the settings for the Linksys, and can't find anything that 
might be related ... is there some keepalive that the linksys might be 
blocking, or something else that I can do to keep the connection from 
dropping?


Thanks ...


Putty has an option to send keep alives every few seconds as does SecureCRT.


Those are, ummm, Windows clients, right? :)

I'm using OpenSSH on a FreeBSD desktop ... does it have similar? :)


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linksys router and ssh time outs ...

2006-07-08 Thread Eric

User Freebsd wrote:


Putty has an option to send keep alives every few seconds as does 
SecureCRT.


Those are, ummm, Windows clients, right? :)

I'm using OpenSSH on a FreeBSD desktop ... does it have similar? :)



it should, but i havent played with it. i found this tho:

For ssh2, you can choose the time in sshd_config by setting the
ClientAlive* options.  For ssh1, you need to tweak the system timers
on either the server or client system; this is of course system-dependent.

ClientAlive* are ssh protocol keepalives: the server and the client
exchange encrypted messages to test and maintain the connection. This
is more useful than tcp keepalives in some applications.

Checkout man 5 sshd_config and look for ClientAliveInterval and  
ClientAliveCountMax.


might be worth playing with.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]