Update the authorized_keys and known_hosts. chmod the private key     On 
Wednesday, December 3, 2025 at 06:13:35 AM MST, Peter 
<[email protected]> wrote:  
 
 Here the mainframe acts as client and linux is the server

I did sshkeygen, where it generated two files, pub rsa I have asked the
linux administrators to save in the users directory.

Is there anything else I need to do?

On Wed, 3 Dec 2025, 16:37 David Frenzel, <[email protected]>
wrote:

> Did you setup an SSH key pair on z/OS (in the home directory of the user
> running the job)? And have you added the public key from the previously
> generated key to the target system's authorized_keys file?
>
> An SSH key pair can be generated using ssh-keygen -t ed25519 (or -t rsa).
> It will be automatically put in the place where SSH looks for it.
>
> It is possible to also use passwords but I wouldn't recommend it.
>
> Cheers - David
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

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

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

Reply via email to