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

Ward Bekker (TTY) ward@REDACTED
Sun Jan 20 21:21:36 CET 2013


Nevermind. Just found `remsh` ;-)

/W

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

> Hi,
> 
> I want to connect to the shell on node bar@REDACTED 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)
> (foo@REDACTED)1> net_adm:ping(bar@REDACTED).
> pong
> (foo@REDACTED)2> 
> User switch command
>  --> r bar@REDACTED
>  --> c
> Eshell V5.9.2  (abort with ^G)
> (bar@REDACTED)1> 
> 
> 

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


More information about the erlang-questions mailing list