OK, I made a mistake in my testing. On my z/OS system, I have the file:
~/.ssh/id_rsa . This file contains the SSH key for my test Linux system,
which I was using in my testing. I had overlooked this when I was testing
my script. This SSH file was created _without_ a passphrase; specifically
so that I could use the ssh transport without the need to supply any
password or passphrase. You will need to do the same. That is, generate an
SSH key (if you haven't already). Make it _without_ a passphrase. Transfer
the "pub" file to the remote server. Put the "pub" file into the remote
user's ~/.ssh/authorized_keys2 (or whatever the correct file is - it can
vary depending on the configuration). You must also create / update the
~/.ssh/config file to have an entry which tells SSH which SSH file key file
to use (if it's not id_rsa). Something like:

HOST remote-ip-or-dns
    IdentityFile /u/<localUser>/.ssh/<ssh-key-file>
    User <remoteUser>

My apologies. I had forgotten that I had everything set up properly to do a
"password-less" ssh connection to my test Linux box.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to