Difference between revisions of "RemoteCommand"
Jump to navigation
Jump to search
| Line 11: | Line 11: | ||
RequestTTY yes | RequestTTY yes | ||
| − | RemoteCommand sudo su - -c "cd /tmp && bash" | + | RemoteCommand sudo su - -c "cd /tmp && [[bash]]" |
[[screen -RD]] | [[screen -RD]] | ||
Revision as of 11:41, 14 March 2023
OpenSSH 7.6 (Oct 2017)
RequestTTY yes RemoteCommand screen -UDr
RequestTTY
RequestTTY yes RemoteCommand sudo su -
RequestTTY yes RemoteCommand sudo su - -c "cd /tmp && bash"
screen -RD
See also
/etc/ssh/ssh_config, ~/.ssh/config (man), RemoteCommand, RequestTTY, ServerAliveInterval, UseKeychain, ForwardAgent,ProxyJump, ControlMaster, ControlPath, ControlPersist- OpenSSH (changelog):
/etc/ssh/sshd_config|/etc/ssh/ssh_config|~/.ssh/|openSSL | sshd logs|sftp|scp|authorized_keys|ssh-keygen|ssh-keyscan|ssh-add|ssh-agent|ssh|Ssh -O stop|ssh-copy-id|CheckHostIP|UseKeychain, OpenSSF, ~/.ssh/authorized_keys
Advertising: