www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/01/18:19: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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=tyt
3i3LUyBzRHk/WdZj1npn3extoGr9JUB7ZLHbwPgOgKnDbLD0+zfhEoqphn/W8nQ4
lIGkCWIwL/e+2xHhuaTLsbUWtwPwWHDZF+/Pa5cgjLbap/FtAkddRWqwWIZTdVZc
Q5ehuAeSbMTrgK7lNgxUe1/KaUGNVcIcOx49jgNs=
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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=DhcvZvFdJ
7jL1+Qby/N+ZZLEQ08=; b=ZVx23PBYRLEBXFdmWAxaYKGPM5ECJ0bPaDzTq/i5z
a/Zdem4g+nTFtPJShGUezRmCrIh//AwmZ5mPw8+tJXJhEinreCVEHvhXKv0ngfXW
YDbmUJeimaBkwhqaxwVi+XHXvaQuu1dE+OdCQ7pdrPzzv34oo40t56mRw13wKd35
xk=
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=2.5 required=5.0 tests=BAYES_60,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: g4t3426.houston.hp.com
From: "Blando, Frank (Helion Managed Engineering)" <frank DOT blando AT hpe DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: ssh with password allows commands that fail with ssh via key
Date: Thu, 1 Oct 2015 22:18:36 +0000
Message-ID: <3FDF3C3C0433F04C8E22F9B8502B6837826D83FB@G9W0741.americas.hpqcorp.net>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t91MJsv6004328

I suspect this is already answered somewhere, but my googling has not brought up an answer.

Environment:
CygWin with OpenSSH 6.6.1p1-3 on Windows 2012 R2. Using the domain administrator account as the target on Windows.

Issue:
When I ssh into Windows from Linux, if I use a password, "powershell -command get-cluster" works. If I use key (store in .ssh/authorized_keys), "powershell -command get-cluster" returns access denied. Simpler commands do not appear to make a distinction and work equally well with password or keys.

--
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