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

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
(→‎Example: Use the hash of `%l%h%p%r` instead so that it works on a shared home directory too.)
 
Line 4: Line 4:
 
== Example ==
 
== Example ==
 
  [[ControlMaster]] == auto
 
  [[ControlMaster]] == auto
  [[ControlPath]] [[~/.ssh/]]sockets/%r@%h-%p
+
  [[ControlPath]] [[~/.ssh/]]sockets/%C
 
  [[ControlPersist]] 36000
 
  [[ControlPersist]] 36000
  

Latest revision as of 19:37, 12 November 2021

Advertising: