User Tools

Site Tools


using_openssh_keys_with_openvms_secure_shell_servers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
using_openssh_keys_with_openvms_secure_shell_servers [2019/11/26 19:24] sgriggsusing_openssh_keys_with_openvms_secure_shell_servers [2019/11/26 19:27] (current) – [Using OpenSSH Public Keys on OpenVMS Systems] sgriggs
Line 59: Line 59:
   - On the Linux/Unix side run **ssh-keygen -t rsa** then answer the prompts. You'll notice the default place to save the keys is $HOME/.ssh   - On the Linux/Unix side run **ssh-keygen -t rsa** then answer the prompts. You'll notice the default place to save the keys is $HOME/.ssh
   - Now convert the public key to RFC4716 format for OpenVMS to use. **ssh-keygen -e -f id_rsa.pub | tee mykey.pub**   - Now convert the public key to RFC4716 format for OpenVMS to use. **ssh-keygen -e -f id_rsa.pub | tee mykey.pub**
 +  - Copy the file to your VMS system and put it in the .SSH sub-directory of your home-directory on VMS. 
 +  - On the VMS server edit or create a file called AUTHORIZATION under you .SSH sub-directory in your home-directory. Add a line to the file that specifies your key file like this "KEY mykey.pub" (or whatever the file name actually is for your key).
 +  - make sure the permissions on your key file and AUTHORIZATION file are strict enough, otherwise the server will reject your changes. Something like this usually works: **SET FILE /PROTECTION=(S:WRED,O:WRED,G:RE,W:R) [.SSH2]mykey.pub**
  
 +That should do it. Now you should be able to ssh from Linux/Unix into VMS using only your key.
  
using_openssh_keys_with_openvms_secure_shell_servers.1574796256.txt.gz · Last modified: 2019/11/26 19:24 by sgriggs

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki