Close

If you’ve already connected to a server using password authentication, why should you need to authenticate again if you find you need another shell? Answer: you shouldn’t.

Add this to your ~/.ssh/config:

Host *
  controlmaster auto
  controlpath /tmp/ssh-%r@%h:%p

And you’ll be able to quickly reconnect when you already have a session.

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

Tech round-up: Feb 24th

By Ian Jenkins

Tech round-up: Feb 12th

By Steve Anderson

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