Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Description
This article will detail 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
Step-by-step guide
Info | ||
---|---|---|
| ||
|
Enable SSH on the VMS server:
VMS$ SET DEF SYS$LOGIN
VMS$ @TCPIP$CONFIG
...
- Copy the generated file
/root/.ssh/linuxserver.pub
(or use copy/paste between putty session for example) to the VMS system in theSYS$SYSROOT:[SYSMGR.SSH2
] directory
If this folder does not exist, create it using the following command:$ CREATE /DIRECTORY SYS$SYSROOT:[SYSMGR.SSH2]
On the VMS system add the Linux server key to the authorized keys:
VMS$ SET DEF SYS$SYSLOGIN
VMS$ SET DEF SYS$SYSROOT:[.SSH2]
VMS$ OPEN/WRITE TMP AUTHORIZATION.
If the file already exists, use
/APPEND
instead of/WRITE
VMS$ WRITE TMP "KEY LINUXSERVER.PUB"
VMS$ CLOSE TMP
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
...
Include Page | ||||
---|---|---|---|---|
|