Saturday, March 11, 2023

Intellij Java remote debug with SSH tunnel

This is the simplest explanation how to do it: (it is a bit confusing, as is uses localhost for both remote and local)
and which clearly runs the ssh command locally forwarding to remote and highlights the role of -N parameter)
also worth reading: this is about PHP debugging

SSH tunneling explained visually

this command does the trick:
ssh -f -L -N

No comments: