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:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 11:51 AM
To: Crispin Bivans
Cc: [EMAIL PROTECTED]
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/