Advertisement
fkeles

scp-copy-files-over-bastion-session.sh

Apr 13th, 2023 (edited)
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | Source Code | 0 0
  1. scp -i ~/.ssh/fkeles-nopass
  2.     -o ProxyCommand="ssh -i ~/.ssh/fkeles-nopass -W %h:%p -p 22 <redacted-bastion-session-id>@host.bastion.uk-london-1.oci.oraclecloud.com"
  3.     -P 22
  4.     /your/local/folder/Wallet_ML3DOZ8P2WLCQEKW.zip
  5.     opc@10.0.1.217:/your/remote/folder
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement