[erlang-questions] Quick connect to another node with erl

Ward Bekker (TTY) <>
Sun Jan 20 21:21:36 CET 2013


Nevermind. Just found `remsh` ;-)

/W

On 20 jan. 2013, at 21:17, Ward Bekker (TTY) <> wrote:

> Hi,
> 
> I want to connect to the shell on node  My current solution (see below) needs some user switch commands. Is there a way using CL arguments? Couldn't find a mention in the erl man page.
> 
> Thx,
> 
> Ward
> 
> ----------
> 
> localhost ward$ erl -sname foo
> Erlang R15B02 (erts-5.9.2) [source] [64-bit] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:false] [dtrace]
> 
> Eshell V5.9.2  (abort with ^G)
> ()1> net_adm:ping().
> pong
> ()2> 
> User switch command
>  --> r 
>  --> c
> Eshell V5.9.2  (abort with ^G)
> ()1> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130120/e9993802/attachment.html>


More information about the erlang-questions mailing list