If you need to proxy via intermediary servers to access your destination (for example, maybe you’re outside your work network and need to access a client estate that is IP-restricted) you can multi-hop manually, or the following host based config can be added to your ~/.ssh/config:

Host *
  ProxyCommand ssh -q nc %h 22

This will then allow you to…


…and be transparently proxied via

About the author

Box UK

Box UK

Box UK's team of simply brilliant thinkers, consultants and application developers mastermind simply brilliant solutions to the world's toughest, performance-critical web and software assignments.

Related content

Tech round-up: Oct 7th

By Steve Anderson

Tech round-up: Oct 30th

By Ian Jenkins

We're hiring. Let's talk. View available roles