mirror of
https://github.com/Erreur32/cheat.git
synced 2024-09-07 20:11:36 +02:00
12 lines
318 B
Plaintext
12 lines
318 B
Plaintext
# To execute a command on a remote server:
|
|
ssh -t user@example.com 'the-remote-command'
|
|
|
|
# To tunnel an x session over SSH:
|
|
ssh -X user@example.com
|
|
|
|
# To launch a specific x application over SSH:
|
|
ssh -X -t user@example.com 'chromium-browser'
|
|
|
|
# For more information, see:
|
|
# http://unix.stackexchange.com/q/12755/44856
|