Difference between revisions of "Ssh -N"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
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]]] | ||
* [[ssh tunnel]] | * [[ssh tunnel]] |
Revision as of 12:17, 20 February 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]
- OpenSSH:
ssh
,ssh -O
,-i, -t
,-T, -N, -V
,/etc/ssh/ssh_config
,ssh --help
Advertising: