Difference between revisions of "RemoteCommand"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
[[OpenSSH 7.6]] (Oct 2017) | [[OpenSSH 7.6]] (Oct 2017) | ||
| − | |||
[[RequestTTY]] yes | [[RequestTTY]] yes | ||
RemoteCommand [[screen -UDr]] | RemoteCommand [[screen -UDr]] | ||
| − | + | ||
| − | + | [[RequestTTY]] yes | |
| − | + | RemoteCommand [[sudo su -]] | |
| − | |||
| − | |||
| − | |||
=== Login change to root and move to an specific directory === | === Login change to root and move to an specific directory === | ||
Revision as of 06:39, 19 March 2026
OpenSSH 7.6 (Oct 2017)
RequestTTY yes RemoteCommand screen -UDr RequestTTY yes RemoteCommand sudo su -
Login change to root and move to an specific directory
RequestTTY yes RemoteCommand sudo su - -c "cd /tmp && bash"
Related
See also
Advertising: