Difference between revisions of "Ssh (OpenSSH client)"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
Master running (pid=26289)
 
Master running (pid=26289)
 
</pre>
 
</pre>
 +
 +
Avoid using Multiplexing for a connections:
 +
<pre>
 +
ssh -o "ControlMaster=no" server.example.org
 +
</pre>
 +
  
 
<pre>
 
<pre>

Revision as of 12:33, 8 December 2019

ssh[1] is the OpenSSH ssh client for logging or executing commands into remote devices/machines


Usage

  • ssh REMOTE_USERNAME@REMOTE_SERVER_NAME_OR_IP
  • ssh -vvv REMOTE_USERNAME@REMOTE_SERVER_NAME_OR_IP (-v increase verbosity, maximum 3)


Multiplexing options

ssh -O check server.example.org or ssh -O check [email protected] 
Master running (pid=26289)

Avoid using Multiplexing for a connections:

ssh -o "ControlMaster=no" server.example.org


ssh -O check [email protected] 
Control socket connect(/path/): No such file or directory

To stop an specific multiplexed session:

ssh -O stop [email protected]


Activities

  • http://man7.org/linux/man-pages/man1/ssh.1.html
  • Advertising: