Gentoo Archives: gentoo-user

From: Edoceo Lists <lists@××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] SSH Hangs on
Date: Mon, 26 Sep 2005 15:11:52
Message-Id: 43380E24.3010909@edoceo.com
1 List,
2 I connect to my server with jEdit over SFTP using key pairs. It works perfectly except that it makes many
3 connections to the server and they don't die when I close jEdit. After a session of developing my server will have 100s
4 of ssh/sftp-subsystem process left over. They will stay there forever too. I've changed settings on the sshd to kill
5 inactive sessions quickly and that works (if I ssh from a machine and do nothing for 30m it dies) but the sftp sessions
6 will not gracefully quit. I have to ssh in and say something like: kill `ps aux |grep 'sshd: username@notty' |awk '{
7 print $2 }'` to clean them up. Ideas?
8
9 /djb
10 --
11 gentoo-user@g.o mailing list