RemoteCommand
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"
See also
Advertising: