Accelerating OpenSSH with connections with ControlMaster

From an article that I wrote recently for Linux.com:

OpenSSH 4.0 introduced an interesting new feature called ControlMaster that allows it to reuse an existing connection to a remote host when opening new connections to that host. This can significantly reduce the amount of time it takes to establish connections after the initial connection. Let’s see how this can help you work faster, and how to start using ControlMaster right away.

Click here to find out more!

The reduced connection times that the ControlMaster feature provides are particularly nice when you’re using tools that open multiple SSH connections to do work on a remote server, such as:

  • Using Emacs on the client with Transparent Remote (file) Access, Multiple Protocol (TRAMP) to access files on a remote server via SSH
  • Using the SSH Filesystem (SSHFS) feature of Filesystem in Userspace (FUSE)
  • Accessing a remote Concurrent Versioning System (CVS) or Subversion repository via an SSH tunnel
  • Remote filename completion in a shell such as bash or zsh, or in Emacs using TRAMP for that matter

Read more…

More of my articles…

SSH, the Secure Shell : The Definitive Guide

2 thoughts on “Accelerating OpenSSH with connections with ControlMaster

Leave a Reply

Your email address will not be published. Required fields are marked *