Difference between revisions of "RemoteCommand"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | OpenSSH 7.6 (Oct 2017) | + | [[OpenSSH 7.6]] (Oct 2017) |
− | [[ | + | RequestTTY yes |
+ | RemoteCommand [[screen -UDr]] | ||
+ | [[RequestTTY]] | ||
− | {{OpenSSH}} | + | [[RequestTTY]] yes |
+ | RemoteCommand [[sudo su -]] | ||
+ | |||
+ | |||
+ | === Login change to root and move to an specific directory === | ||
+ | RequestTTY yes | ||
+ | RemoteCommand sudo su - -c "cd /tmp && [[bash]]" | ||
+ | |||
+ | <code>[[screen -RD]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{ssh_config}} | ||
+ | * {{OpenSSH}} | ||
+ | |||
+ | [[Category:SSH]] |
Latest revision as of 12:22, 14 March 2023
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"
See also[edit]
/etc/ssh/ssh_config, ~/.ssh/config, RemoteCommand, RequestTTY, ServerAliveInterval, UseKeychain
- 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
Advertising: