delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/17/16:24:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 17 Feb 2004 22:24:25 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 2004-Feb-17 snapshot change ssh option parsing behavior
Message-ID: <20040217212425.GB18953@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <16434 DOT 32879 DOT 365152 DOT 633519 AT forbin DOT entomo DOT com>
Mime-Version: 1.0
In-Reply-To: <16434.32879.365152.633519@forbin.entomo.com>
User-Agent: Mutt/1.4.2i

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() 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'

I did that already all the time so I never hit the above situation.

Another way to accomplish what you want is to set the environment
variable POSIXLY_CORRECT prior to calling ssh.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019