Java Remote Debugging - Security?
已回答
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!
请先登录再写评论。
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