ProxyCommand commands don't exit

Markus Friedl markus at openbsd.org
Sun Apr 21 03:52:27 EST 2002


please use bugzilla.mindrot.org

On Tue, Apr 16, 2002 at 05:06:21PM -0700, Jason Stone wrote:
> 
> 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
> 
> 
> 
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev



More information about the openssh-unix-dev mailing list