Setting up multiplexing¶
This document briefly details how user/developers can set up multiplexing
Create a local file named
~/.ssh/config, or append to it.
In this file, you need the following block
Host archer2 User <archer2-username> HostName login.archer2.ac.uk ControlPath ~/.ssh/controlmasters/%r@%h:%p ControlMaster auto ControlPersist 30m
The duration of ControlPersist can be modified to suit your needs. Note however that shorter durations are more secure.
Create a directory using
Modify your existing
machines_user.yml file such that it contains the following:
archer2: username: <username> remote: archer2 manual_ssh: true project: <project> budget: <budget>