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

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
Configure [[Ssh (OpenSSH client)|ssh client]] ([[OpenSSH]])  to reuse connections:
+
Configure [[Ssh (OpenSSH client)|ssh client]] ([[OpenSSH]])  to reuse connections using <code>[[ControlMaster]], [[ControlPath]] and [[ControlPersist]]</code> directives.
 +
 
 +
 
  
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 <code>([[ControlMaster]])</code>
 
  
[[ControlMaster]]
 
[[ControlPath]]
 
[[ControlPersist]]
 
  
 
== Example ==
 
== Example ==
Line 19: Line 17:
 
* <code>[[MaxSessions]]</code>
 
* <code>[[MaxSessions]]</code>
 
* Stop session [[multiplexing]]: <code>[[ssh -O stop]]</code>
 
* Stop session [[multiplexing]]: <code>[[ssh -O stop]]</code>
 +
* https://stackoverflow.com/questions/20410252/how-to-reuse-an-ssh-connection
 +
* https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing
  
 
== See also ==
 
== See also ==

Revision as of 08:31, 31 August 2021

Advertising: