Difference between revisions of "RemoteCommand"

From wikieduonline
Jump to navigation Jump to search
Line 19: Line 19:
 
== See also ==
 
== See also ==
 
* {{ssh_config}}
 
* {{ssh_config}}
* {{OpenSSH}}
 
  
 
[[Category:SSH]]
 
[[Category:SSH]]

Revision as of 06:38, 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

See also

Advertising: