SSH / SCP Proxy Jump

# Singapore instance
# IP = 1.2.3.4
# ID = sg-user
# North Virginia instance
# IP = 6.7.8.9
# ID = us-user
# File path = ~/readme.txt
ssh -J sg-user@1.2.3.4 us-user@6.7.8.9# equivalent command
ssh -oProxyJump=sg-user@1.2.3.4 us-user@6.7.8.9
scp -J sg-user@1.2.3.4 us-user@6.7.8.9:~/readme.txt .
# Singapore instance
# IP = 1.2.3.4
# ID = sg-user
# London instance
# IP = 2.3.4.5
# ID = uk-user
# North Virginia instance
# IP = 6.7.8.9
# ID = us-user
# File path = ~/readme.txt
ssh -J sg-user@1.2.3.4,uk-user@2.3.4.5 us-user@6.7.8.9# equivalent command
ssh -oProxyJump=sg-user@1.2.3.4,uk-user@2.3.4.5 us-user@6.7.8.9
scp -J sg-user@1.2.3.4,uk-user@2.3.4.5 us-user@6.7.8.9:~/readme.txt .

--

--

--

A software engineer, a rock climbing, inline skating enthusiast, a husband, a father.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Build An NLP Project From Zero To Hero (6): Model Integration

What Code Complete says about estimating software projects

Puzzle’ing Then and Puzzle’ing Now

Open Closed Principle

Using Elastic Container Registry

Msc Patran 2012 Torrent Download

Git Bisect — Finding breaking commits

Building git part-1

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kevin FOO

Kevin FOO

A software engineer, a rock climbing, inline skating enthusiast, a husband, a father.

More from Medium

Multipass with Hyper-V on Windows 10 Home

Reverse proxy with Oracle Apex Free Tier and Nginx on mikr.us

Find leaked credentials with TruffleHog

what happens when you type ls -l *.c and hit Enter in a shell?