Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

ssh -L port-local:HOSTNAME:port-distant machine-distante

exemple, on veut rediriger le port 32400 (plex) de notre serveur headless vers le port 80 de notre ordinateur

ssh -L 80: -N

-N : execute seulement le forward, ne lance pas de terminal distant

-R : inverse le sens (à la place de -L); on parle de remote port forwarding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.