How do you set up an rsa public key on zVM to connect to another zVM's Guest's zLinux session to issue a command.
I have a REXX script that issues a set of SEND commands to another zVM guest to log on another guest's Linux session and issue a Linux command and then exit. The problem with the script is that it is passing the password to Linux and I would like to change this to using an rsa public/private key exchange instead. What I want to be able to do is to send a user ID and commands to a zVM guest that hosts a zLinux server, logging in with only the user ID and using the rsa keys to authenticate on the zLinux side (allowing commands to be issued under that ID). Has anyone done this or is it possible? Is there a reverse command to the "vmcp" command in IBM s390 toolkit, a type of CP command that issues a Linux command the Linux side, like the vmcp allows CP commands to be issued from Linux to the zVM session. Because of authentication on the Linux side, I do not think this is possible, but I would like to learn I am wrong here. James Chaplin Systems Programmer, MVS, zVM & zLinux -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: How do you set up an rsa public key on zVM to connect to another zVM's Guest's zLinux session to issue a command.
This is a CMS command-line ssh capability that I have been asking for since I started running Linux under z/VM. It may be available from a third-party like Sine Nomine, but it is not available from IBM. /Tom Kern (I no longer run Linux under z/VM, so the Powers That Be succeeded in stalling long enough for my need to just go away). On 12/22/2011 18:28, CHAPLIN, JAMES (CTR) wrote: > I have a REXX script that issues a set of SEND commands to another zVM > guest to log on another guest's Linux session and issue a Linux command > and then exit. The problem with the script is that it is passing the > password to Linux and I would like to change this to using an rsa > public/private key exchange instead. > > > > What I want to be able to do is to send a user ID and commands to a zVM > guest that hosts a zLinux server, logging in with only the user ID and > using the rsa keys to authenticate on the zLinux side (allowing commands > to be issued under that ID). Has anyone done this or is it possible? > > > > Is there a reverse command to the "vmcp" command in IBM s390 toolkit, a > type of CP command that issues a Linux command the Linux side, like the > vmcp allows CP commands to be issued from Linux to the zVM session. > Because of authentication on the Linux side, I do not think this is > possible, but I would like to learn I am wrong here. > > > > James Chaplin > > Systems Programmer, MVS, zVM & zLinux > > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: How do you set up an rsa public key on zVM to connect to another zVM's Guest's zLinux session to issue a command.
>What I want to be able to do is to send a user ID and commands to a zVM >guest that hosts a zLinux server, logging in with only the user ID and >using the rsa keys to authenticate on the zLinux side (allowing commands >to be issued under that ID). Has anyone done this or is it possible? We wrote a CMS SSH client to do this. Contact me offlist for more details. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: How do you set up an rsa public key on zVM to connect to another zVM's Guest's zLinux session to issue a command.
On 12/22/11 7:42 PM, "Thomas Kern" wrote: > It may be available from a third-party like Sine Nomine, but it >is not available from IBM. It is available from us for a nominal cost. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/