RemoteCommand
Jump to navigation
Jump to search
OpenSSH 7.6 (Oct 2017)
RequestTTY yes RemoteCommand sudo su - -c "tmux new -A -s main"
RequestTTY yes RemoteCommand screen -UDr 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"
Related[edit]
See also[edit]
Advertising: