On Mon, Oct 08, 2007 at 10:30:40AM -0400, Daniel Jacobowitz wrote: > On Sat, Sep 29, 2007 at 10:00:07AM +0200, Filippo Giunchedi wrote: > > this is ought to be fixed in 1.4a-1, do you mind retrying to see if the new > > wrapper closes this bug? > > Good news and bad news. I could not get it to log this message but > strace shows that my existing scripts, which used -M, now produce: > > 13667 write(2, "ssh: connect to host 21000 port 22: Invalid argument\r\n", > 54) = 54 > > If I leave off -M, though, it does pick a random port and seems to > work OK.
fair enough, indeed ssh accepts -M but without parameters and now with the random guess it gets passed to ssh itself because we set AUTOSSH_PORT in the environment. I'm not sure how to fix this without breaking existing scripts, perhaps searching the command line for -M and use that if present might work. filippo -- Filippo Giunchedi - http://esaurito.net PGP key: 0x6B79D401 random quote follows: The only way to get rid of a temptation is to yield to it. -- Oscar Wilde -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]