Re: ssh connection closing due to inactivity
Re: ssh connection closing due to inactivity
- Subject: Re: ssh connection closing due to inactivity
- From: Jonas Maebe <email@hidden>
- Date: Sun, 8 Mar 2009 21:49:45 +0100
On 08 Mar 2009, at 21:39, Steve Grant wrote:
I am new to the MAC, previously I used linux.
That would be Mac rather than MAC (as in short for Macintosh, rather
than short for Media Access Control).
I connect to my work using ssh and have configured my iMac the same
way WRT my .ssh/config file. It contains:
host *
ForwardX11 yes
TCPKeepAlive yes
The command line I use (added the -vvv for debugging):
ssh -l my_user_name remote_host_name -vvv
The connection is made just fine. However, after some amount of
inactivity, the connection is closed. I need to know how to stop
this from happening. Doing the identical thing from my linux box
works and the connection never closes so I know this is due to
something with the iMac. I suspect it may be firewall related.
Please help.
You may want to check regarding differences in /etc/ssh_config between
the Mac and the Linux box (it lists the defaults, at least on Mac OS
X). Another thing you could try adding to your .ssh/config file is the
following:
ServerAliveInterval 60
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden