mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-20 16:27:49 +03:00
SSH: add example to run a command directly
This commit is contained in:
parent
d90e9a4342
commit
6d7b1dc79a
@ -11,6 +11,10 @@
|
||||
|
||||
`ssh {{username}}@{{remote_host}} -P {{2222}}`
|
||||
|
||||
- run a command on a remote server
|
||||
|
||||
`ssh {{remote_host}} "{{command -with -flags}}"`
|
||||
|
||||
- ssh tunneling: dynamic port forwarding (SOCKS proxy on localhost:9999)
|
||||
|
||||
`ssh -D {{9999}} -C {{username}}@{{remote_host}}`
|
||||
|
Loading…
Reference in New Issue
Block a user