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 *.target.com
  ProxyCommand ssh -q user@work.com nc %h 22

This will then allow you to…

ssh user@server.target.com

…and be transparently proxied via proxy-server.com

Want to find out more about the tools our dev community have been exploring? Take a look at our regular tech round-up series - and sign up to our mailing list to have them delivered direct to your inbox.

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

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