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 revision Previous revision
Last revision Both sides next revision
using_openssh_keys_with_openvms_secure_shell_servers [2019/11/26 19:24]
sgriggs
using_openssh_keys_with_openvms_secure_shell_servers [2019/11/26 19:26]
sgriggs [Using OpenSSH Public Keys on OpenVMS Systems]
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**
  
  
using_openssh_keys_with_openvms_secure_shell_servers.txt · Last modified: 2019/11/26 19:27 by sgriggs