User Tools

Site Tools


apps:openssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
apps:openssh [2016-05-20 10:37] – created rootapps:openssh [2016-05-20 16:51] (current) root
Line 1: Line 1:
 ====== OpenSSH ====== ====== OpenSSH ======
 ===== Multiplexing ===== ===== Multiplexing =====
 +==== Configuration ====
  
 +<code - ~/.ssh/config>
 +Host *
 +  ControlMaster auto
 +  ControlPersist yes
 +  ControlPath ~/.ssh/control/%r@%h:%p
 +</code>
 +
 +==== Controlling ====
 +
 +<code bash>
 +# ssh -O ctl_cmd <server>
 +</code>
 +
 +ctl_cmd:
 +  * check: check that the master process is running (returns PID if running)
 +    * Master running (pid=3292)
 +    * Control socket connect(/home/user/.ssh/control/user@server:22): No such file or directory
 +  * forward: request forwardings without command execution
 +  * cancel: cancel forwardings
 +  * exit: request the master to exit), and 
 +  * stop: request the master to stop accepting further multiplexing requests).
 +
 +
 +
 +==== Dynamic Changes ====
 +
 +
 +
 +==== Source & Links ====
 +  * Some infos are copied from the man page: [[http://man7.org/linux/man-pages/man1/ssh.1.html|man ssh]]
apps/openssh.1463733420.txt.gz · Last modified: 2016-05-20 10:37 by root