Difference between revisions of "Configure OpenSSH to reuse ssh connections"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 11: Line 11:
 
  ControlPath ~/.ssh/sockets/%r@%h-%p
 
  ControlPath ~/.ssh/sockets/%r@%h-%p
 
  [[ControlPersist]] 36000
 
  [[ControlPersist]] 36000
 +
 +
== Change log ==
 +
[[OpenSSH 4.2]]: September 1, 2005 https://www.openssh.com/txt/release-4.2
 +
* Added ControlMaster=auto/autoask options to support opportunistic multiplexing (see the ssh_config(5) manpage for details).
  
 
== Related terms ==
 
== Related terms ==

Revision as of 06:31, 18 April 2021

Configure ssh client (OpenSSH) to reuse connections:

Follow the following instructions https://stackoverflow.com/questions/20410252/how-to-reuse-an-ssh-connection and how to use them in https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing (ControlMaster)

ControlMaster
ControlPath
ControlPersist


ControlMaster auto
ControlPath ~/.ssh/sockets/%r@%h-%p
ControlPersist 36000

Change log

OpenSSH 4.2: September 1, 2005 https://www.openssh.com/txt/release-4.2

  • Added ControlMaster=auto/autoask options to support opportunistic multiplexing (see the ssh_config(5) manpage for details).

Related terms

See also

Advertising: