Difference between revisions of "Ssh -N"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
[[ssh -N -f -L 1111:localhost:5432 [email protected]]] | [[ssh -N -f -L 1111:localhost:5432 [email protected]]] | ||
− | * [[ssh tunnel]] | + | * <code>[[ssh tunnel]]</code> |
* [[Port forwarding]] | * [[Port forwarding]] | ||
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: