Comment on Using a SSH tunnel/ port forward to connect a TV?

<- View Parent
eksb@programming.dev ⁨3⁩ ⁨days⁩ ago

ssh -L 1234:localhost:1234 remote_server binds the RPi’s localhost:1234 to remote_server’s localhost:1234. You want to bind the port to something on the RPi that the TV can hit, so something like ssh -L 192.168.1.5:1234:localhost:1234 remote_server, where 192.168.1.5 is the RPi’s address.

I think you also want -N on the ssh command.

original
Sort:hotnewtop