10.0 sftp/sshd no longer times out?

Michael Ross gmx at ross.cx
Fri Sep 5 01:12:14 UTC 2014


Hello,

I just noticed something strange on my 10.0 r269088 system,
with ssh at OpenSSH_6.6.1p1, OpenSSL 1.0.1h-freebsd 5 Jun 2014:


I have 28 blocks like this in ps output:

    0   869   739   0   20  0  86428  3732 select   Is    -      0:00,05  
sshd: michael [priv] (sshd)
1001   872   869   0   20  0  86428  3732 select   I     -      0:00,13  
sshd: michael at notty (sshd)
1001   873   872   0   30  0  23584     0 pause    IWs   -      0:00,00  
csh -c /usr/libexec/sftp-server
1001   875   873   0   20  0  50244  3092 select   I     -      0:00,01  
/usr/libexec/sftp-server

and sockstat show the corresponding sockets as connected:

michael  sshd       8737  3  tcp4   x.x.x.x:22     188.96.33.76:42205
michael  sshd       8737  4  stream -> ??
root     sshd       8734  3  tcp4   x.x.x.x:22     188.96.33.76:42205
root     sshd       8734  5  stream -> ??


188.96.33.76 was my office ip address from the 22nd to the 28th of July.
In fact, all ip addresses I connected from since 25th of July still show  
output as above.

Shouldn't these connections have timed out by now,
and the sftp-server / sshd connection exited?

I upgraded this system from 9.2 to 10.0 on the 25th of July,
never seen this before.

Am I overlooking something here?


Michael


More information about the freebsd-stable mailing list