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.

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: Sep 16th

By Steve Anderson

Tech round-up: Apr 1st

By Steve Anderson

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