using_openssh_keys_with_openvms_secure_shell_servers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous 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: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" | ||
+ | - 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 / | ||
+ | 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