Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Safely connecting as hidden node #8

Description

@schnittchen

I would love to see this feature, to make introspecting a node simple. It makes sense to have this in onartsipac:

  • we already know how to connect to a node via ssh
  • even though we do not maintain the erlang cookie, it is easy to obtain (1)
  • same for the node name as seen by epmd on the host (2)
  • the hidden node runs locally (so :observer is usually available), having run_locally makes this simple

Footnotes:
(1)

      cookie = capture "bin/#{script}", "eval 'erlang:get_cookie().'"
      cookie = cookie[%r{\A'(.*)'\z}, 1].gsub("\'", "'")

(2)

      node_name = capture "bin/#{script}", "rpcterms Elixir.Node self"
      node_name = node_name[%r{\A'(.*)'\z}, 1].gsub("\'", "'")

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions