It depends.

SSH and openssl use different key formats and do not work together

If you've generated an SSH key pair, you can copy it to z/OS and use it for
an SSH session using the linux  command
ssh-copy-id

If you've used openssl (or equivalent) you can logon to tso, create a
sequential file and paste the public key.
The use RACDCERT ADD(datasetname)

Colin



On Wed, 4 Mar 2026 at 19:28, Ituriel do Neto <
[email protected]> wrote:

> Hi all,
>
> I have a question and would really appreciate your help.
> If a public key is generated on Linux, is there a way to send it to z/OS
> to establish an SSH connection between z/OS and an SFTP server on Linux?
>
> Thanks in advance.
>
> Best Regards
>
> Ituriel do Nascimento Neto
> z/OS System Programmer
>
> ----------------------------------------------------------------------
> 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