[erlang-questions] Logging remote shell connect

Andrew Stone <>
Thu Feb 11 21:05:50 CET 2010


Yes. You can use net_kernel:monitor_nodes(true). The process that makes
the call will receive messages of the form  {nodeup,Node} when a remote
shell attaches (or any other node connection for that matter).

See this for details:
http://erlang.org/doc/man/net_kernel.html#monitor_nodes-1 

-Andrew


----- Original Message ----
From: Yogish Baliga <>
To: Erlang Questions <>
Sent: Thu, February 11, 2010 1:53:40 PM
Subject: [erlang-questions] Logging remote shell connect

Hello all,

  Is it possible to get some kind of notification when someone connects to a shell via remote-shell capability?

-- baliga

"Point of view is worth 80 IQ points" --Alan Kay

http://dudefrommangalore.blogspot.com/


More information about the erlang-questions mailing list