Difference between revisions of "Ssh -N"
Jump to navigation
Jump to search
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
https://explainshell.com/explain?cmd=ssh+-N+-f+-L+local_port%3A127.0.0.1%3Aremote_port+user%40host | 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). | + | 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)}} | * {{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: