Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ssh: sftp session hangs/sleep after trasferring the file

Status
Not open for further replies.

123naz

Technical User
Nov 17, 2002
4
SA
Hi,
I have automated script to transfer certains files to a remote server through sftp. It is authenticated and successfully transferring the file every 5 minutes. But the ssh session still remaining open. Please find the ps listing below:
8 S billtest 11739 1 0 46 22 ? 361 ? 21:31:03 ? 0:00 ssh -oProtocol = 2 -s -oForwardAgen
8 S billtest 11458 1 0 46 22 ? 361 ? 21:26:01 ? 0:00 ssh -oProtocol = 2 -s -oForwardAgen

Could you please tell me why the session is not closed after transferrign the file?, my script is find out the specified process and killing it..but no affect on ssh session.

Thanks
Naz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top