martin wrote:
Please read
documentation. If that does not help, come back.
I am having problem keeping my ssh sesion alive in my script, as my windows server 2003 (with cygwin) is taking more than 15 sec to responce. and the session closed by that time
log file:
. 2009-07-14 11:40:05.333 Session password prompt ({myusername}@{serverIP}'s password: )
. 2009-07-14 11:40:05.333 Using stored password.
. 2009-07-14 11:40:05.333 Sent password
. 2009-07-14 11:40:05.379 Access granted
. 2009-07-14 11:40:05.629 Opened channel for session
. 2009-07-14 11:40:05.692 Started a shell/command
. 2009-07-14 11:40:05.692 --------------------------------------------------------------------------
. 2009-07-14 11:40:05.692 Using SFTP protocol.
. 2009-07-14 11:40:05.692 Doing startup conversation with host.
> 2009-07-14 11:40:05.692 Type: SSH_FXP_INIT, Size: 5, Number: -1
. 2009-07-14 11:40:20.693 Waiting for data timed out, asking user what to do.
. 2009-07-14 11:40:20.693 Asking user:
. 2009-07-14 11:40:20.693 Host has not answered for 15 seconds.
. 2009-07-14 11:40:20.693
. 2009-07-14 11:40:20.693 Wait for another 15 seconds? ()
. 2009-07-14 11:40:20.693 Attempt to close connection due to fatal exception:
* 2009-07-14 11:40:20.693 Terminated by user.
. 2009-07-14 11:40:20.693 Closing connection.