Bug 1649 - CreateObject : Mismatch auth between pubkey and password
Summary: CreateObject : Mismatch auth between pubkey and password
Status: CLOSED INVALID
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: -current
Hardware: Other Cygwin on NT/2k/Win7-11
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-15 00:01 AEST by Marco
Modified: 2010-04-16 15:51 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco 2009-09-15 00:01:54 AEST
I'm trying to connect a uss(AIX) of a z/OS 1.8 to a CopSSH on a Win Y2K SP4 using pubkey to start a VbScript that make a CreateObject("Excel.Application").
When I try online using password it works fine, when I try to use pubkey it return Err=70-> Permission Denied

Many thanks in advance.
Comment 1 Darren Tucker 2009-10-23 11:49:56 AEDT
I can tell you what's probably happening, but there's not a lot we can do about it:  I think you are trying to read the file from a network drive.  When you use a password, the Windows machine gets a Kerberos ticket which allows you to access the fileserver.  When you use public-key authentication you have no kerberos ticket and you are denied acess.

There might be a way to work around this on the Windows side, but AFAIK there's nothing that sshd can do about it. 

I suggest you ask the Cygwin folks if there's any known way of supporting this.
Comment 2 Damien Miller 2010-04-16 15:51:28 AEST
Mass move of bugs RESOLVED->CLOSED following the release of openssh-5.5p1