First convert the public Key (tutorialinux.com/convert-ssh2-openssh/)
ssh-keygen -i -f ssh2.pub > openssh.pub
Upload the Key to the cloud jump host
scp openssh.pub opc@jumphost.trivadislabs.com:~/.ssh/
ssh opc@jumphost.trivadislabs.com 'cat ~/.ssh/openssh.pub >> ~/.ssh/authorized_keys'
And to the oud server for user oracle
scp -o 'ProxyJump opc@jumphost.trivadislabs.com' openssh.pub oracle@oud:~/.ssh/
ssh -A -J opc@jumphost.trivadislabs.com oracle@oud 'cat ~/.ssh/openssh.pub >> ~/.ssh/authorized_keys'
And to the oud server for user opc
scp -o 'ProxyJump opc@jumphost.trivadislabs.com' openssh.pub opc@oud:~/.ssh/
ssh -A -J opc@jumphost.trivadislabs.com opc@oud 'cat ~/.ssh/openssh.pub >> ~/.ssh/authorized_keys'
Additional information regarding jumphost [Oracle Cloud Infrastructure and SSH Keys – Jump! ](https://www.martinberger.com/?p=5039}