Re: SSH dropping out

2008-11-06 Thread Andrew Schulman
> Is there a way, from within the same batch script used to make the SSH > connection, to send a packet of data, or something similar, every minute > so that the connection will be kept alive? Have a look at autossh, which does this and also restarts any ssh connection which is still alive but h

Re: SSH dropping out

2008-11-06 Thread Dmitry Semyonov
On Thu, Nov 6, 2008 at 13:33, Edward Ludlow wrote: > I have data on a remote mySQL server that to edit, I have to SSH port > forward to. [...] > This works fine, except that once connected, if there's no communication > with the mysql server for a certain period of time (sometimes < 5 minutes, >

SSH dropping out

2008-11-06 Thread Edward Ludlow
I have data on a remote mySQL server that to edit, I have to SSH port forward to. On Windows boxes, I use Cygwin to achieve this, by running: ssh -L 3306:mysqlserver:3306 -N [EMAIL PROTECTED] Obviously then prompted for a password. This works fine, except that once connected, if there's no co