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的最安全方式。

  • 相关阅读:
    md笔记——HTTP知识
    百万表格难题
    微信接口改良
    md笔记——正则学习
    md笔记——编程术语
    md笔记——微信JS接口
    md笔记——使用 @font-face 引入你喜欢的字体
    博客一年记
    “挨踢”的伙食怎样?
    比尔·盖茨早年
  • 原文地址:https://www.cnblogs.com/wzzkaifa/p/6994716.html
Copyright © 2011-2022 走看看