Rob, to "eliminate" the login prompting you'll want to be sure you have got the keys imported.
I believe it is called "Public-key authentication"
Since it is a unix thing there are probably lots of docs if googleing.

 the doc you reference:
http://www-01.ibm.com/support/docview.wss?uid=nas8N1019126
shows the steps for importing the keys.


it will be important to make sure the user running the ssh commands is the one the keys were created for. (that part always trips me up). For instance I created a user on the HMC with the same name as the user that runs the ssh commands.


Bryan

rob@xxxxxxxxx wrote on 5/13/2015 3:09 PM:
Jim,

I was looking at

and was in this section:
/* The &LOGIN variable holds the SSH login information */
DCL VAR(&LOGIN) TYPE(*CHAR) LEN(63) VALUE('ssh +
slotmover1@xxxxxxxxxxxxx -i +
/home/h1sip/.ssh/id_rsa')

If I start qsh, and do
ssh hscroot@xxxxxxxxxxxxxxxxxxxx
I have to enter in the password.  How do I set up this "id_rsa" file so
that it doesn't stop me and prompt me for the password?
I looked at
https://help.github.com/articles/generating-ssh-keys/
http://docs.oracle.com/cd/E19253-01/816-4557/sshuser-33/index.html


Rob Berendt


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.