ProxyCommand commands don't exit

Jason Stone jason-openssh at shalott.net
Wed Apr 17 10:06:21 EST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I've noticed that when I use ProxyCommand commands to connect, the
commands do not exit when ssh exits.  This results in a bunch of commands
piling up on the machine over time.

I experimented with four machines:

linux-2.2.19+patches, openssh-3.0.1p1
linux-2.2.14+patches, openssh-3.0.1p1
freebsd-4.5-stable,   openssh-2.9 localisations 20020307
freebsd-4.3-stalbe,   openssh-3.0.2

and in all combinations, the proxy command persisted after the client
exited.

luca/home/jason-1049: ps x
  PID TTY      STAT   TIME COMMAND
15245 pts/64   S      0:00 -zsh
16258 pts/64   R      0:00 ps x

luca/home/jason-1050: ssh -o ProxyCommand="nc hermione 22" hermione true
Enter passphrase for key '/home/jason/.ssh/id_dsa':
otp-md5 495 he4606 ext
S/Key Password: [successful authentication]

luca/home/jason-1051: ps x
  PID TTY      STAT   TIME COMMAND
15245 pts/64   S      0:00 -zsh
16265 pts/64   S      0:00 nc hermione 22
16273 pts/64   R      0:00 ps x


For completeness, I also used all of opie, rsa, passwd and hostbased auth
to test, and nothing changed.


Is this a bug, a feature, or a misunderstanding?


 -Jason

 -----------------------------------------------------------------------
 I worry about my child and the Internet all the time, even though she's
 too young to have logged on yet.  Here's what I worry about.  I worry
 that 10 or 15 years from now, she will come to me and say "Daddy, where
 were you when they took freedom of the press away from the Internet?"
	-- Mike Godwin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: See https://private.idealab.com/public/jason/jason.gpg

iD8DBQE8vLyAswXMWWtptckRAtv4AJ0WMTp+b0fxqwS/gZ7+u65fclUGrgCglDwr
1wGesZfuEXqeBungL55/OTY=
=imvZ
-----END PGP SIGNATURE-----





More information about the openssh-unix-dev mailing list