Re: [JSch-users] how to keep alive a connection
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2004-08-20 06:48:36
|
Hi, +-From: "Sean A.A" <sea...@ya...> ----- |_Date: Sun, 1 Aug 2004 10:36:56 -0700 (PDT) __ | |Hi, does anybody know how to keep alive a connection, I want to |keep the connection running even if the user doesn't do anything |for a long time. If your remote sshd is from recent OpenSSH, how about setting 'ClientAliveInterval' in your remote '/etc/ssh/sshd_config'? 'man ssh' says as follow, ClientAliveInterval Sets a timeout interval in seconds after which if no data has been received from the client, sshd will send a message through the encrypted channel to request a response from the client. The default is 0, indicating that these messages will not be sent to the client. This option applies to protocol version 2 only. JSch has not implemented keep-alive by client side, but it will not be so difficult to implement it. |actually another question. how to resolve a symbolic link? What means 'a symbolic link'? Thanks, -- ymnk |