[Erlang危机](4.2)Remsh
2014-11-09 10:05
141 查看
原创文章,转载请注明出处:服务器非业余研究http://blog.csdn.net/erlib 作者Sunface联系邮箱:cto@188.com
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
And as follows for short names:
也可以使用短命名:
---------------------------------------------------------------------------------------
1
---------------------------------------------------------------------------------------
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的最安全方式。
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:
也可以使用短命名:
---------------------------------------------------------------------------------------
1
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的最安全方式。
相关文章推荐
- [Erlang危机](3.1)常见过载情景
- [Erlang危机](5.0)运行时指标
- [Erlang危机](3.2)限制输入
- [Erlang危机](5.1.0)VM检测概述
- [Erlang危机](3.3)丢弃数据上篇
- [Erlang危机](5.1.1)内存
- [Erlang危机](3.3)丢弃数据下篇
- [Erlang危机](5.1.2)CPU
- [Erlang危机](5.1.3)进程
- 多核危机:Scala vs. Erlang
- [Erlang危机](3.4)习题
- [Erlang危机](5.1.0)VM检测概述
- [Erlang危机](5.1.3)进程
- [Erlang危机](5.1.4)端口port
- 多核危机:Scala vs Erlang
- [Erlang危机]Erlang In Danger 序言(必读)
- [Erlang危机](1.1)如何深入代码
- [Erlang危机](1.2)第三方Erlang代码库
- [Erlang危机](5.1.4)端口port
- [Erlang危机](1.3)OTP应用