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

转载于:https://www.cnblogs.com/wzzkaifa/p/6994716.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值