Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Info: This message was accepted for relay by smtp03.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: UmFuZG9tSVZuu5gfUDoyNQHCJTFw5bPqQuUbVANOkCZhdSIhMsPeGNI9y4I9fi/8 Message-ID: <3F174714.4020300@cygwin.com> Date: Thu, 17 Jul 2003 21:02:12 -0400 From: Larry Hall Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Crispin Bivans CC: cygwin AT cygwin DOT com Subject: Re: Unable to use iisreset through ssh References: <361A899B8B2FF64AAE29718102EC9395021D8BBE AT ri-exchus1 DOT rotaryintl DOT org> In-Reply-To: <361A899B8B2FF64AAE29718102EC9395021D8BBE@ri-exchus1.rotaryintl.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit This indicates iisreset requires that Windows authenticate you before it will work. OpenSSH with password authentication does this. Public key authentication does not. Larry Crispin Bivans wrote: > Using password allowed it to work... Why is that? I'd really like to get it to work with the certificate method. > > -Crispin > > -----Original Message----- > From: Larry Hall [mailto:cygwin-lh AT cygwin DOT com] > Sent: Thursday, July 17, 2003 11:51 AM > To: Crispin Bivans > Cc: cygwin AT cygwin DOT com > Subject: Re: Unable to use iisreset through ssh > > Crispin Bivans wrote: > > >>I have a weird problem where if I try to use iisreset through a ssh session to my cygwin box then it gives an error saying that only Local Admin's can use this command. But I am a local admin, and if I use iisreset directly on the PC through bash session it works fine. When I run 'id' command it also says I'm part of the Administrators group. And my entry in /etc/passwd looks right. My CYGWIN variable does include 'ntsec' as part of the settings. >> >>What can I do to fix this? > > > > What authentication method are you using for ssh? If you're not using > password authentication, try that. > > -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/