tags +pending thanks On Thu, Jul 28, 2005 at 03:16:12AM +0100, Paul Brook wrote: > Autossh doesn't handle -- properly when parsing commandling options. It > checks for and eats the first --, but it still parses the subsequent > commandline arguments. > > Attached patch fixes this. Any arguemnts after -- are passed verbaitum > to ssh. This allows use of the ssh -M option when using autossh.
thanks for the patch, while passing -M to ssh makes sense, it doesn't with -f since the command will be launched with no controlling ttys (in case of interactive programs) and will be relaunched whenever autossh detects connection failure, and this is not good :) This is the first reason I can think of, please feel free to provide another use case where using autossh -- -f ssh <host> <command> can be useful filippo -- Filippo Giunchedi PGP key: 0x6B79D401 random quote follows: Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan
signature.asc
Description: Digital signature