delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/16/17:24:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=Xt5xAa8oyiovzTKVZ7carrCA0Ze4f
ixkrujaPlTBy+6/ukGeqORGOqyiCxrbPZjqSlZXYr5N5TmCh1D27dVa48xLJXTid
9W33hXqtPMU7l0Fgv/WvAVsyrmF9c07oN+sv6jg3wZCkIvi9JLz7jpLa+ubj/2Yf
mmx81Eb7w35ok4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=LNQthwGA5hngoveV96R7r/3mltQ=; b=By8
JghrcuwTaEIVTg50FIUlquaoeAcJ+jZhI9+c2D7lof1LIeAEgNsboJ3Pdzh4sylT
1Vh2N5JHv4c2iMwYkKvQ9of+9hsM0hAB4ojpvrXbPDwDqlYv+P3KCLbGxx8Aief9
BgUIorlG6w8fZuODC3vKLKuYFPppdyQa/odo7lzk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f177.google.com
MIME-Version: 1.0
X-Received: by 10.50.138.232 with SMTP id qt8mr14197641igb.21.1439760283795; Sun, 16 Aug 2015 14:24:43 -0700 (PDT)
Date: Sun, 16 Aug 2015 17:24:43 -0400
Message-ID: <CADPfvJtVdJBEqmYBaNZWUfN_YLh18Da1M4Q01umss1tKaDMZGQ@mail.gmail.com>
Subject: OpenSSH client defaults
From: Max Polk <maxpolk AT gmail DOT com>
To: Cygwin list <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

On a new 64-bit Cygwin install, no /etc/ssh* files or dirs exist, I
copied over id_dsa and id_dsa.pub into my ~/.ssh, nothing else, and
got the directory and file permissions right.

Kept running into this failure connecting:
debug1: Skipping ssh-dss key /MYPATH/.ssh/id_dsa for not in
PubkeyAcceptedKeyTypes

I noticed that PubkeyAcceptedKeyTypes is new.  Apparently the client
didn't let me login because id_dsa keys weren't acceptable to Cygwin
ssh client.

To fix it, I had to create a ~/.ssh/config file and I placed into it a
setting to explicitly permit id_dsa style keys (by adding ssh-dss* at
the end):

Host *
    PubkeyAcceptedKeyTypes OTHERTHINGS,ssh-dss*

Without this ~/.ssh/config permitting id_dsa style keys.  In general,
to find what kinds of things you can add to PubkeyAcceptedKeyTypes in
your config file, run:

    ssh -Q key

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

- Raw text -


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