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

  • 相关阅读:
    如何统计一个字符串中某个字符出现的次数
    从GitHub克隆项目到本地
    nginx能做什么
    dubbo的使用实例
    zookeeper单机安装
    Http发送post(x-www-form-urlencoded)请求
    集群与分布式的区别
    cas的客户端应用是负载均衡,单点退出怎么办?
    mybatis执行DDL语句
    sql server 行列互换
  • 原文地址:https://www.cnblogs.com/wzzkaifa/p/6994716.html
Copyright © 2011-2022 走看看