Java Remote Debugging - Security?
Answered
How can it be safe to use the JVM Remote Debugging Tool, when I can't see any type of security involved there (like a password or ssh)?
Can I somehow secure my debugging process on the remote server without opening my application for the whole world?
Thanks for your help!
Please sign in to leave a comment.
The best option here is to create ssh tunnel and limit access to the debugger port for localhost only. See https://www.jetbrains.com/help/idea/remote-debugging-via-ssh-tunnel.html
See also https://stackoverflow.com/a/33186809/8203759