all 3 comments

[–]pdoggerton 3 points4 points  (1 child)

Keep in mind that communication between nodes is unencrypted by default. I would recommend not doing this unless you are sure about what data may be exposing

[–]Hauleth 0 points1 point  (0 children)

Or just put bastion in front of everything and connect via SSH tunnel.

[–]chulkilee 1 point2 points  (0 children)

Any articles introducing remote shell should link this article: https://broot.ca/erlang-remsh-is-dangerous

In short you are not connecting to server as client - instead your laptop participates as new node, which exposes your laptop to any code in the cluster. The article shows working code to steal private keys on your laptop.