rlogin
rose1 发表于 2020-08-01 06:16浏览次数:
在类似Unix的操作系统上,rlogin命令远程登录到系统。
On Unix-like operating systems, the rlogin command remotely logs in to a system.
目录:
1 rlogin 运行系统环境
2 rlogin 说明
3 rlogin 语法
4 rlogin 例子
rlogin 运行系统环境
rlogin 说明
rlogin在远程主机主机上启动终端会话。 使用标准的伯克利“ rhosts”授权机制。 选项如下:
rlogin starts a terminal session on the remote host host. The standard Berkeley "rhosts" authorization mechanism is used. The options are as follows:
rlogin 语法
rlogin [-8EKLdx] [-e char] [-l username] host
选件
-8
|
始终允许8位输入数据路径;否则,将删除奇偶校验位,除非远程方的停止和起始字符不是^ S / ^ Q。
|
-E
|
停止将任何字符识别为转义字符。与-8选项一起使用时,它提供了完全透明的连接。
|
-L
|
-L选项允许rlogin会话以“关闭”模式(特殊的BSD终端模式)运行。
|
-d
|
在用于与远程主机进行通信的TCP套接字上打开套接字调试。
|
-e
|
允许用户指定转义字符,默认情况下为“〜”(波浪号)。该规范可以是文字字符,也可以是\ nnn形式的八进制值。
|
格式为“ <转义字符>”的行。与远程主机断开连接。同样,行“^ Z”将挂起rlogin会话,而“”将挂起rlogin的发送部分,但允许从远程系统输出。默认情况下,代字号(“〜”)是转义字符,通常Control-Y(“ ^ Y”)是延迟挂起字符。
所有回声都发生在远程站点,因此(延迟除外)rlogin是透明的。通过^ S / ^ Q进行的流控制以及中断时输入和输出的刷新均得到适当处理。
rlogin [-8EKLdx] [-e char] [-l username] host
Options
-8
|
Allows an eight-bit input data path at all times; otherwise, parity bits are stripped except when the remote side's stop and start characters are other than ^S/^Q.
|
-E
|
Stops any character from being recognized as an escape character. When used with the -8 option, this provides a completely transparent connection.
|
-L
|
The -L option allows the rlogin session to be run in "litout" mode, a special BSD terminal mode.
|
-d
|
Turns on socket debugging on the TCP sockets used for communication with the remote host.
|
-e
|
Allows user specification of the escape character, which is "~" (tilde) by default. This specification may be as a literal character, or as an octal value in the form \nnn.
|
A line of the form "." disconnects from the remote host. Similarly, the line "^Z" will suspend the rlogin session, and "" suspends the send portion of the rlogin, but allows output from the remote system. By default, the tilde ("~") character is the escape character, and normally Control-Y ("^Y") is the delayed-suspend character.
All echoing takes place at the remote site, so that (except for delays) the rlogin is transparent. Flow control via ^S/^Q and flushing of input and output on interrupts are handled properly.
rlogin 例子
rlogin -l hope domain.com
以用户希望的身份登录到远程系统domain.com。
rlogin -l hope domain.com
Login as user hope to the remote system domain.com.