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 [email protected]:~/.ssh/
ssh [email protected] 'cat ~/.ssh/openssh.pub >> ~/.ssh/authorized_keys'
And to the oud server for user oracle
scp -o 'ProxyJump [email protected]' openssh.pub oracle@oud:~/.ssh/
ssh -A -J [email protected] oracle@oud 'cat ~/.ssh/openssh.pub >> ~/.ssh/authorized_keys'
And to the oud server for user opc
scp -o 'ProxyJump [email protected]' openssh.pub opc@oud:~/.ssh/
ssh -A -J [email protected] 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}