Discussion:
SSH to Linux using Public Keys
(too old to reply)
issinoho
2020-12-17 17:16:24 UTC
Permalink
I'm trying to SSH from my Alpha to a Linux box in AWS using public keys.

My client system:
HP TCP/IP Services for OpenVMS Alpha Version V5.7 - ECO 5
SSH Secure Shell OpenVMS (V5.5) 3.2.0 on AlphaServer 400 4/166 - VMS V8.4-2L1

The server:
CentOS Linux release 8.3.2011
OpenSSH_8.0p1, OpenSSL 1.1.1g FIPS 21 Apr 2020

Firstly, should this be possible?

And, if so, does anyone have a definitive guide on getting it working?

The closest I have found is Raymii's page but that fails with unknown -o options.

All help happily accepted. TIA.
Tym Stegner
2020-12-17 18:36:22 UTC
Permalink
Post by issinoho
I'm trying to SSH from my Alpha to a Linux box in AWS using public keys.
HP TCP/IP Services for OpenVMS Alpha Version V5.7 - ECO 5
SSH Secure Shell OpenVMS (V5.5) 3.2.0 on AlphaServer 400 4/166 - VMS V8.4-2L1
CentOS Linux release 8.3.2011
OpenSSH_8.0p1, OpenSSL 1.1.1g FIPS 21 Apr 2020
Firstly, should this be possible?
And, if so, does anyone have a definitive guide on getting it working?
The closest I have found is Raymii's page but that fails with unknown -o options.
All help happily accepted. TIA.
Should work. Though you may have to convert your keys to OpenSSH format. take a look at the options for ssh_keygen...
Jim
2020-12-17 20:08:01 UTC
Permalink
Post by issinoho
I'm trying to SSH from my Alpha to a Linux box in AWS using public keys.
HP TCP/IP Services for OpenVMS Alpha Version V5.7 - ECO 5
SSH Secure Shell OpenVMS (V5.5) 3.2.0 on AlphaServer 400 4/166 - VMS V8.4-2L1
CentOS Linux release 8.3.2011
OpenSSH_8.0p1, OpenSSL 1.1.1g FIPS 21 Apr 2020
Firstly, should this be possible?
And, if so, does anyone have a definitive guide on getting it working?
The closest I have found is Raymii's page but that fails with unknown -o options.
All help happily accepted. TIA.
The MultiNet SSH FAQ @ https://www.process.com/support/ssh/faq/general.html has examples of setting up a VMS client using MultiNet's SSH (SFTP) to access an server system running OpenSSH - I believe that the VMS SSH is fairly similar...
alexru...@gmail.com
2020-12-18 13:06:46 UTC
Permalink
your key format looks similar to an X.509 SSL certificate, i.e. a header, comment field and trailer with the ASCII gibberish in between. OpenSSH does not have the same format and the public key you share with them Needs to be converted using ssh-keygen -e. the AWS admin should be able to do that.
Post by issinoho
I'm trying to SSH from my Alpha to a Linux box in AWS using public keys.
HP TCP/IP Services for OpenVMS Alpha Version V5.7 - ECO 5
SSH Secure Shell OpenVMS (V5.5) 3.2.0 on AlphaServer 400 4/166 - VMS V8.4-2L1
CentOS Linux release 8.3.2011
OpenSSH_8.0p1, OpenSSL 1.1.1g FIPS 21 Apr 2020
Firstly, should this be possible?
And, if so, does anyone have a definitive guide on getting it working?
The closest I have found is Raymii's page but that fails with unknown -o options.
All help happily accepted. TIA.
s***@gmail.com
2020-12-18 14:10:15 UTC
Permalink
Post by issinoho
I'm trying to SSH from my Alpha to a Linux box in AWS using public keys.
HP TCP/IP Services for OpenVMS Alpha Version V5.7 - ECO 5
SSH Secure Shell OpenVMS (V5.5) 3.2.0 on AlphaServer 400 4/166 - VMS V8.4-2L1
CentOS Linux release 8.3.2011
OpenSSH_8.0p1, OpenSSL 1.1.1g FIPS 21 Apr 2020
Firstly, should this be possible?
And, if so, does anyone have a definitive guide on getting it working?
The closest I have found is Raymii's page but that fails with unknown -o options.
All help happily accepted. TIA.
YES IT WILL WORK

I USED THE OPENVMS FREEWARE PROGRAM GnuPG for VMS - A Public-Key Encryption/Decryption Utility TO GENERATE
KEYS IN ORDER TO HANDSHAKE AND TRANSMIT A/R A/P AND PAYROLL FILES TO
THE CHASE CLEARING HOUSE SYSTEM TO AUTOMATE MY COMPANIES ACCOUNTING
SYSTEMS. PIECE OF CAKE. WORKED LIKE A CHARM. I FORGET IF THE RECEIVING CHASE SYSTEM WAS RUNNING WINDOWS OR LINUX BUT IT WILL WORK ON EITHER. TCPWARE WAS THE IP STACK BUT ANY STACK SHOULD WORK OVER AN SSH TELNET CONNECTION.
Loading...