Re: Prepending 'exec' to proxy command automatically

2015-12-18 Thread Matt Johnston
On Fri 18/12/2015, at 10:04 pm, Konstantin Tokarev wrote: >> https://secure.ucc.asn.au/hg/dropbear/rev/f7d565054e5f > > Why not use asprintf? I see scpmisc.c already uses vasprintf. I suspect it wouldn't work on some of the more uncommon platforms where people run Dropbear (I guess they don't r

Re: Prepending 'exec' to proxy command automatically

2015-12-18 Thread Konstantin Tokarev
18.12.2015, 16:24, "Matt Johnston" : > On Wed, Dec 16, 2015 at 04:32:03PM +0300, Konstantin Tokarev wrote: >>  08.12.2015, 21:00, "Konstantin Tokarev" : >>  > If dbclient is given proxy command which does not start with exec, shell >> process is lingering alongside proxy command process. However

Re: Prepending 'exec' to proxy command automatically

2015-12-18 Thread Matt Johnston
On Wed, Dec 16, 2015 at 04:32:03PM +0300, Konstantin Tokarev wrote: > 08.12.2015, 21:00, "Konstantin Tokarev" : > > If dbclient is given proxy command which does not start with exec, shell > > process is lingering alongside proxy command process. However, I've found > > that OpenSSH client (Proxy

Re: Prepending 'exec' to proxy command automatically

2015-12-16 Thread Konstantin Tokarev
08.12.2015, 21:00, "Konstantin Tokarev" : > If dbclient is given proxy command which does not start with exec, shell > process is lingering alongside proxy command process. However, I've found > that OpenSSH client (ProxyCommand option) prepends exec automatically. > > I think it would be conve

Prepending 'exec' to proxy command automatically

2015-12-08 Thread Konstantin Tokarev
If dbclient is given proxy command which does not start with exec, shell process is lingering alongside proxy command process. However, I've found that OpenSSH client (ProxyCommand option) prepends exec automatically. I think it would be convenient if dbclient added exec by default, but this wil