You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sftp backend automatically disconnects when no command has been issued in the last 10 seconds (default). However, it appears to only close the SFTP subsystem session, not the underlying SSH connection. This is not a problem when the application closes but is definitely a problem on long-running apps. Memory may eventually run out or ssh service max connections may be reached.
If you run the following test app, the server side (at least on OpenSSH server), every connection will show the main connection sshd: <username> [priv], and two forked processes sshd: <username>@notty and sshd: <username>@internal-sftp. 10 second after each connection was mad the subsytem @internal-sftp process goes away but leaves the other two.
sftp
backend automatically disconnects when no command has been issued in the last 10 seconds (default). However, it appears to only close the SFTP subsystem session, not the underlying SSH connection. This is not a problem when the application closes but is definitely a problem on long-running apps. Memory may eventually run out or ssh service max connections may be reached.If you run the following test app, the server side (at least on OpenSSH server), every connection will show the main connection
sshd: <username> [priv]
, and two forked processessshd: <username>@notty
andsshd: <username>@internal-sftp
. 10 second after each connection was mad the subsytem@internal-sftp
process goes away but leaves the other two.Need to close the underlying ssh conn.
The text was updated successfully, but these errors were encountered: