2004-Feb-17 snapshot change ssh option parsing behavior

2004-02-17 Thread David Rothenberger
Prior to using the 2004-Feb-17 snapshot, the command % ssh somehost /bin/bash --login -c date worked correctly. Now, ssh gives "Unknown cipher type 'date'." The command % ssh somehost -- /bin/bash --login -c date works, but % ssh somehost -- /bin/bash -login -c date fails. The comman

Re: 2004-Feb-17 snapshot change ssh option parsing behavior

2004-02-17 Thread Corinna Vinschen
On Feb 17 12:58, David Rothenberger wrote: Content-Description: message body text > Prior to using the 2004-Feb-17 snapshot, the command > > % ssh somehost /bin/bash --login -c date > > worked correctly. Now, ssh gives "Unknown cipher type 'date'." We're using the latest plain BSD getopt() no

Re: 2004-Feb-17 snapshot change ssh option parsing behavior

2004-02-17 Thread David Rothenberger
Corinna Vinschen wrote: On Feb 17 12:58, David Rothenberger wrote: We're using the latest plain BSD getopt() now. It's permuting the options by default. This was switched off by default in Cygwin so far. Typically you should quote the command you send to the remote host: ssh somehost '/bin/bas

Re: 2004-Feb-17 snapshot change ssh option parsing behavior

2004-02-17 Thread Robert Collins
On Wed, 2004-02-18 at 08:39, David Rothenberger wrote: > Corinna Vinschen wrote: > > On Feb 17 12:58, David Rothenberger wrote: > > We're using the latest plain BSD getopt() now. It's permuting the > > options by default. This was switched off by default in Cygwin so far. > > > > Typically you s

Re: 2004-Feb-17 snapshot change ssh option parsing behavior

2004-02-17 Thread David Rothenberger
Robert Collins wrote: you may find that ssh somehost -- bin/bash --login -c date also works. In fact, I did, and mentioned that in my first email. Unfortunately, I use this with some old Solaris boxes, which require "-login" instead of "--login", and ssh somehost -- /bin/bash -login -c date

Re: 2004-Feb-17 snapshot change ssh option parsing behavior

2004-02-18 Thread Corinna Vinschen
On Feb 17 16:46, David Rothenberger wrote: > Robert Collins wrote: > >you may find that > >ssh somehost -- bin/bash --login -c date > >also works. > > In fact, I did, and mentioned that in my first email. Unfortunately, I > use this with some old Solaris boxes, which require "-login" instead of

Re: 2004-Feb-17 snapshot change ssh option parsing behavior

2004-02-18 Thread David Rothenberger
Corinna Vinschen wrote: On Feb 17 16:46, David Rothenberger wrote: Robert Collins wrote: you may find that ssh somehost -- bin/bash --login -c date also works. In fact, I did, and mentioned that in my first email. Unfortunately, I use this with some old Solaris boxes, which require "-login" in

Re: 2004-Feb-17 snapshot change ssh option parsing behavior

2004-02-20 Thread Wayne Davison
Corinna Vinschen wrote: > We're using the latest plain BSD getopt() now. It's permuting the > options by default. This was switched off by default in Cygwin so > far. > > Typically you should quote the command you send to the remote host: > > ssh somehost '/bin/bash --login -c date' This is

Re: 2004-Feb-17 snapshot change ssh option parsing behavior

2004-02-20 Thread Corinna Vinschen
On Feb 20 10:08, Wayne Davison wrote: > This is not something that other OSes require, and programs such as > rsync are broken by this change. While trying to work around this > problem, I tried using a remote-shell option of "ssh --" with rsync, > but ssh still doesn't do the right thing with tha