This article details the operations needed to create an SSH trust between a Linux and a VMS server for the execution of remote commands from Linux to OpenVMS.
Usage example: To perform a clean VMS shutdown initiated by the charon server
|
Enable SSH on the VMS server:
|
Option 3 - Server components then enable and start service SSH, option 19
then Option 2 - Enable & Start service on this node
|
Generate the key on the Linux server and convert it to be readable by VMS
→ Do not specify a passphrase |
/root/.ssh/linuxserver.pub
(or use copy/paste between putty session for example) to the VMS system in the SYS$SYSROOT:[SYSMGR.SSH2
] directory$ CREATE /DIRECTORY SYS$SYSROOT:[SYSMGR.SSH2]
On the VMS system add the Linux server key to the authorized keys:
If the file already exists, use |
Do not forget the dot at the end of the authorization file name
Perform some tests (examples)
Charon server name "charon", vms system name "pluto":
charon# ssh system@pluto "show system /noproc" OpenVMS V7.3-2 on node PLUTO 27-SEP-2013 11:50:14.37 Uptime 0 19:20:07 |
HP OpenVMS Systems - SSH - Secure Shell
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.