SFTP never disconnects from server
|Reported by:||klam0||Owned by:|
|Keywords:||sftp disconnect processes||Cc:|
|Component version:||Operating system type:||Windows|
|Operating system version:||8.1|
When connecting to the server using SFTP, the following two processes are created on the server:
UID PID PPID C STIME TTY TIME CMD
username 23563 23560 0 19:16 ? 00:00:00 sshd: username@notty
username 23564 23563 0 19:16 ? 00:00:00 /usr/lib/openssh/sftp-server
They remain active even after the connection closes (ie: disconnecting from FileZilla or closing FileZilla). The next time a new connection is invoked, those two processes are recreated, until they clog the process list.
Tested with FileZilla 126.96.36.199, on two Linux servers, one is CentOS 6.5, the other is Debian 6.0.6.
Using Cyberduck on the same machines, the processes disappear immediately when disconnecting.