> -----Original Message-----
> From: Karam Chand [mailto:[EMAIL PROTECTED] 
> Sent: Friday, December 10, 2004 2:17 PM
> To: Adams, Pat 006; [EMAIL PROTECTED]
> Subject: RE: Lost connection during query when using SSH tunneling
> 
> I am not sure of Putty as I am using plink.exe that is the 
> SSH tunneler for tunnel.
> 
> The thing is that I call up plink.exe from my app to create 
> an ssh tunnel and then set the correct values for 
> mysql_real_connect() in my app.
> 
> What I am doing is that I am bundling plink.exe with my app 
> and then ask the user for SSH info. Depending upon that I 
> create a plink.exe process and then connect my app to the SSH process.
> 
> I referred to Putty as many people seem to be using it and 
> putty usese plink.exe which is the back end for it.
> 
> Should I look into some options like what you suggested?

plink can use putty's saved sessions, so you could set one of those up.
Unfortunately it doesn't look like there's a command-line option to set
the timeout or keepalive settings of plink. 

--
Pat Adams
Applications Programmer
SYSCO Food Services of Dallas, L.P.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to