[Erlang危机](4.2)Remsh

原创文章,转载请注明出处:server非业余研究http://blog.csdn.net/erlib 作者Sunface

联系邮箱:[email protected]

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 [email protected] -remsh [email protected]
---------------------------------------------------------------------------------------
And as follows for short names:

?也能够使用短命名:
---------------------------------------------------------------------------------------
erl -sname [email protected] -remsh [email protected]
---------------------------------------------------------------------------------------
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的最安全方式。

时间: 2024-10-03 11:34:12

[Erlang危机](4.2)Remsh的相关文章

[Erlang危机](2.1)项目结构

?? 原创文章,转载请注明出处:服务器非业余研究http://blog.csdn.net/erlib 作者Sunface Project Structure The structures of OTP applications and of OTP releases are different. An OTP application can be expected to have one top-level supervisor (if any) and possibly a bunch of

[Erlang危机](5.1.1)内存

原创文章,转载请注明出处:server非业余研究http://blog.csdn.net/erlib 作者Sunface 联系邮箱:[email protected] Memory The memory reported by the Erlang VM in most tools will be a variant of what is reported by erlang:memory() : Erlang VM大多数检測内存的工具都是通过erlang:memory()来实现的. -----

[Erlang危机](4.0)连接远程节点

原创文章,转载请注明出处:服务器非业余研究http://blog.csdn.net/erlib 作者Sunface 联系邮箱:[email protected] 连接到远程节点 Interacting with a running server program is traditionally done in one of two ways. One is to do it through an interactive shell kept available by using a screen

[Erlang危机](4.1)作业控制模式

原创文章,转载请注明出处:服务器非业余研究http://blog.csdn.net/erlib 作者Sunface 联系邮箱:[email protected] Job Control Mode 作业控制模式 The Job Control Mode (JCL mode) is the menu you get when you press ?G in the Erlang shell. From that menu, there is an option allowing you to con

[Erlang危机](5.0)执行时指标

原创文章.转载请注明出处:server非业余研究http://blog.csdn.net/erlib 作者Sunface 联系邮箱:[email protected] Chapter 5 Runtime Metrics 执行时指标(Runtime Metrics) One of the best selling points of the Erlang VM for production use is how transparent it can be for all kinds of intr

[Erlang危机]Erlang In Danger 序言

原创文章,转载请注明出处:服务器非业余研究http://blog.csdn.net/erlib 作者Sunface?? Introduction On Running Software 运行时软件 There's something rather unique in Erlang in how it approaches failure compared to most other programming languages. There's this common way of thinkin

[Erlang危机](1.3)OTP应用

?? 1.OTP Applications Figuring out OTP applications is usually rather simple. They usually all share a directory structure that looks like: ?搞清楚 OTP applications通常都非常简单,他们通常在同一个目录下, 目标结构如下: doc/;ebin/src/test/LICENSE.txtREADME.mdrebar.config There mi

[Erlang危机](5.1.3)进程

原创文章,转载请注明出处:服务器非业余研究http://blog.csdn.net/erlib 作者Sunface 联系邮箱:[email protected] Processes Trying to get a global view of processes is helpful when trying to assess how much work is being done in the VM in terms of tasks. A general good practice in E

[Erlang危机](4.3)SSH守护进程

原创文章,转载请注明出处:服务器非业余研究http://blog.csdn.net/erlib 作者Sunface 联系邮箱:[email protected] SSH Daemon Erlang/OTP comes shipped with an SSH implementation that can both act as a server and a client. Part of it is a demo application providing a remote shell work