RemoteCommand

From wikieduonline
Revision as of 12:22, 14 March 2023 by Idontknowmaths (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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[edit]

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

screen -RD

See also[edit]

Advertising: