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: List-Subscribe: List-Archive: List-Post: List-Help: , 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)" To: "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> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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