zoukankan      html  css  js  c++  java
  • [Erlang危机](4.2)Remsh

    原创文章,转载请注明出处:server非业余研究http://blog.csdn.net/erlib 作者Sunface
    联系邮箱:cto@188.com


    Remsh

    There’s a mechanism entirely similar to the one available through the JCL mode, although invoked in a different manner. The entire JCL mode sequence can by bypassed by starting the shell as follows for long names:

     另一种相似于JCL模式的机制。仅仅是两者的激活方式有所不同。JCL模式连接远程节点的操作序列能够使用以下这个加了remsh參数的启动命令直接绕过。


    ---------------------------------------------------------------------------------------
    erl -name local@domain.name -remsh remote@domain.name
    ---------------------------------------------------------------------------------------
    And as follows for short names:

     也能够使用短命名:

    ---------------------------------------------------------------------------------------
    erl -sname local@domain -remsh remote@domain
    ---------------------------------------------------------------------------------------

    All other Erlang arguments (such as -hidden and -setcookie $COOKIE) are also valid.
    The underlying mechanisms are the same as when using JCL mode, but the initial shell is started remotely instead of locally (JCL is still local). ˆG remains the safest way to exit the remote shell.

     其他的Erlang參数(比方:-hidden -setcookie $COOKIE)在这里也都是能够使用的。
     Remsh命令的底层机制和使用JCL模式是一样的,但启动后的节点是远程的,而JCL启动的节点是本地的。与此同一时候Ctrl+G仍然是退出远程shell的最安全方式。

  • 相关阅读:
    【蓝桥杯训练】第二天1261
    【蓝桥杯训练】第二天1259、1260
    【蓝桥杯训练】第二天1255、1258
    【蓝桥杯训练】第一天1252
    【蓝桥杯训练】第一天1253
    【蓝桥杯训练】第一天1251
    【蓝桥杯训练】第一天1250
    Map,reduce,zip,dir 简化你的操作
    C# await和async
    python 入门笔记
  • 原文地址:https://www.cnblogs.com/wzzkaifa/p/6994716.html
Copyright © 2011-2022 走看看