Skip to content

Instantly share code, notes, and snippets.

@oshinko
Last active November 20, 2021 05:24
Show Gist options
  • Save oshinko/67b7a9dbb5aaa954e14ac32073949c7e to your computer and use it in GitHub Desktop.
Save oshinko/67b7a9dbb5aaa954e14ac32073949c7e to your computer and use it in GitHub Desktop.
SSH ProxyCommand Oneliner
ssh -o ProxyCommand='ssh -W %h:%p -i ~/.ssh/xxxx.pem user@proxy' -i ~/.ssh/xxxx.pem user@private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment