Operating System - OpenVMS
1751897 Members
5066 Online
108783 Solutions
New Discussion

Re: OpenVMS SSH client and UNIX SSH server with public key auth and passphrase

 
SOLVED
Go to solution
Richard W Hunt
Valued Contributor

Re: OpenVMS SSH client and UNIX SSH server with public key auth and passphrase

Having fought a different flavor of this beast, I can suggest that you examine the TCPIP$SSH_RUN logs on the VMS side. They should be in SYS$SYSDISK:[TCPIP$SSH] (or SYS$SYSDEVICE or something like that).

If you have your [TCPIP$SSH.SSH2]SSHD2_CONFIG.; file set up to accept both publickey and password (in that order), you might be getting an "unable to read the user's public key" which would be visible in the log file. To the user logging in from an external client, this is invisible. All you see is the prompt for a password. Internally, this is associated with AUTHS-PUBKEY.C:912: error code. Problem in that case is key format and the password is not the key's password, it is the account's password.
Sr. Systems Janitor
Ana M. García Olivencia
Regular Advisor

Re: OpenVMS SSH client and UNIX SSH server with public key auth and passphrase

Richard.

Thanks for your information. As I have told in my last reply, the problem has been solved converting the private key with 'puttygen' command.

Thanks to all.

Ana