Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

VMS public key at windows end.

umesh01
Occasional Advisor

VMS public key at windows end.

Hi All,

we want to installed the openvms sftp public key to windows side,totransfer the application files to windows.I've provided the public key to them.
$tcpip sho ver
HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 2
on an hp AlphaServer ES80 7/1150 running OpenVMS V8.3

Windows admin not sure how to installed the vms public key their end.

Could you please help on this.
8 REPLIES
Heinz W Genhart
Honored Contributor

Re: VMS public key at windows end.

Hi umesh01

What product are you using on Windows side?
Keep in mind, that the keys on OpenVMS side are SSH2 Keys and the keys on Windows side might be Openssh Keys. This means you will have to convert the keys from Openssh to ssh2 format or vice versa before you can set up a Sftp connection.

Regards

Geni
umesh01
Occasional Advisor

Re: VMS public key at windows end.

Openvms V8.3
SSH2 -- tcpip V5.6

At windows end:
Openssh
(as per windows admin vms ssh key installed properly)
We need to send the files from VMS to window... Experience below error in log,

"debug: Ssh2AuthClient/SSHAUTHC.C:374: Method 'publickey' disabled"

From this VMS server,we are being sending the files to the world thru sftp successfully.. 1st time we are doing setup for windows machine..

Any suggestion.

Thomas Ritter
Respected Contributor

Re: VMS public key at windows end.

umesh01, I gather you efforts are following on from this thread to which you assigned no points.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1259701

My advise, gen the keys at the pc end and convert on the vms side to ssh2 format.
Steven Schweda
Honored Contributor

Re: VMS public key at windows end.

> My advise, gen the keys at the pc end and
> convert on the vms side to ssh2 format.

Really? Why? I'd expect an OpenSSH
ssh-keygen program to do better dealing with
an SSH2 key than I would the VMS ssh_keygen
dealing with an OpenSSH key.

The OpenSSH ssh-keygen program has a "-i"
option:

http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keygen&sektion=1

[...]
-i This option will read an unencrypted private (or public) key file
in SSH2-compatible format and print an OpenSSH compatible private
(or public) key to stdout. ssh-keygen also reads the RFC 4716
SSH Public Key File Format. This option allows importing keys
from several commercial SSH implementations.
[...]

What comparable feature does the VMS program
have?
Thomas Ritter
Respected Contributor

Re: VMS public key at windows end.

The onus is usually on the server manager or side to make it all happen. When presented with a public key which may not be directly compatible and require conversion I'd rather modify it myself, aim for a succesfull finger print and test. We dont run openssh but ssh2 and need to convert openssh keys to the ssh2 types with their specific headers and trailers. Once you have done a few its straight forward. So in my view let the SSH clients generate their key pairs and resolve the compatibility on the server side.
Our SSH software conversion routines do not work so it edit for us, which is not much work.
umesh01
Occasional Advisor

Re: VMS public key at windows end.

Hi All,

Thanks for your help, Issue has been resolved by providing permissions at windows directory C:\apps_srv\SSHtectia\keys.
Kumar_Sanjay
Regular Advisor

Re: VMS public key at windows end.

Close this and Assign the suitable points to Member...

0 point for this reply.


Regards
SAMI AHMAD
Regular Advisor

Re: VMS public key at windows end.

so how did Umesh got the key working without conversion ?
I am trying to do the exact setup I would appreciate any feedback