Difference between revisions of "Ssh -N"
Jump to navigation
Jump to search
(Created page with "{{lc}} * {{ssh}}") |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | https://explainshell.com/explain?cmd=ssh+-N+-f+-L+local_port%3A127.0.0.1%3Aremote_port+user%40host | ||
− | * {{ssh}} | + | Do not execute a remote command. This is useful for just [[forwarding]] ports ([[protocol version 2]] only). |
+ | |||
+ | [[ssh -N -f -L 1111:localhost:5432 [email protected]]] | ||
+ | |||
+ | * <code>[[ssh tunnel]]</code> | ||
+ | * [[Port forwarding]] | ||
+ | |||
+ | == See also == | ||
+ | * {{ssh (openSSH)}} | ||
+ | |||
+ | [[Category:Openssh]] |
Latest revision as of 10:31, 13 December 2023
https://explainshell.com/explain?cmd=ssh+-N+-f+-L+local_port%3A127.0.0.1%3Aremote_port+user%40host
Do not execute a remote command. This is useful for just forwarding ports (protocol version 2 only).
ssh -N -f -L 1111:localhost:5432 [email protected]
See also[edit]
- OpenSSH:
ssh
,ssh -O
,-i, -t
,-T, -N, -V
,/etc/ssh/ssh_config
,ssh --help
Advertising: