Configure OpenSSH to reuse ssh connections
(Redirected from ControlPath)
Jump to navigation
Jump to search
Configure ssh client (OpenSSH) to reuse connections using ControlMaster, ControlPath and ControlPersist
directives.
Contents
Example[edit]
ControlMaster == auto ControlPath ~/.ssh/sockets/%C ControlPersist 36000
Change log[edit]
OpenSSH 4.2: September 1, 2005 https://www.openssh.com/txt/release-4.2
- Added
ControlMaster=auto/autoask
options to support opportunistic multiplexing (see thessh_config
manpage for details).
Related terms[edit]
MaxSessions
- Stop session multiplexing:
ssh -O stop
- https://stackoverflow.com/questions/20410252/how-to-reuse-an-ssh-connection
- https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing
pipelining
in/etc/ansible/ansible.cfg
See also[edit]
sshd
,sshd logs
,sshd -t
,sshd -T
,sshd_config
,sftp
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF
Advertising: