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.
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.
Mass move of bugs RESOLVED->CLOSED following the release of openssh-5.5p1