Difference between revisions of "RemoteCommand"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
  RequestTTY yes
+
  [[RequestTTY]] yes
 
  RemoteCommand [[screen -UDr]]
 
  RemoteCommand [[screen -UDr]]
  
Line 16: Line 16:
  
 
<code>[[screen -RD]]</code>
 
<code>[[screen -RD]]</code>
 +
 +
== Related ==
 +
* <code>[[RequestTTY]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 06:39, 19 March 2026

OpenSSH 7.6 (Oct 2017)


RequestTTY yes
RemoteCommand screen -UDr
RequestTTY
 RequestTTY yes
 RemoteCommand sudo su -


Login change to root and move to an specific directory

 RequestTTY yes
 RemoteCommand sudo su - -c "cd /tmp && bash"

screen -RD

Related

See also

Advertising: