📄 rlogin.texi
字号:
@node rlogin@chapter rlogin@cindex rlogin@command{rlogin} command logs into a specified remote host and connects yourlocal terminal to the remote host. The remote terminal type is the same asthat given in the @emph{TERM} local environment variable. The terminal orwindow size is also the same, if the remote host supports them, and anychanges in size are transferred.When using the @command{rlogin} command, you can create a link to your pathusing a host name as the link name. For example:@example## ln -s /usr/bin/rlogin HostName# Hostname -8@end exampleUsing @var{HostName} automatically uses the @command{rlogin} to log in tothe remote host named @var{HostName}.@command{rlogin} allows access to the remote host without the use of a passwd.For details, @xref{rcmd, , rcmd, libc, The GNU C Library Reference Manual}.@section InvokingThe options are as follows :@table @samp@item -8@itemx --8-bit@opindex -8@opindex --8-bitAllows an eight-bit input data path at all times; otherwise parity bits arestripped except when the remote side's stop and start characters are otherthan ^S/^Q .@item -E@item --no-escape@itemx --no-escape@opindex -E@opindex --no-escapeStops any character from being recognized as an escape character. When usedwith the -8 option, this provides a completely transparent connection.@item -K@itemx --kerberos@opindex -K@opindex --kerberosTurns off all Kerberos authentication.@item -d@itemx --debug@opindex -d@opindex --debugTurns on socket debugging (see setsockopt(2)) on the TCP sockets used forcommunication with the remote host.@item -e@itemx --escape=CHAR@opindex -e@opindex --escapeAllows user specification of the escape character, which is ``~'' by default.This specification may be as a literal character, or as an octal value in theform \nnn.@item -k@itemx --realm=REALM@opindex -k@opindex --realmThe option requests rlogin to obtain tickets for the remote host in REALMrealm instead of the remote host's realm as determined by krb_realmofhost(3).@item -x@itemx --encrypt@opindex -x@opindex --encryptTurns on DES encryption for all data passed via the rlogin session. This mayimpact response time and CPU utilization, but provides increased security.@end tableA line of the form ``<escape char>.'' disconnects from the remote host.Similarly, the line ``<escape char>^Z'' will suspend the rlogin session,and ``<escape char><delayed-suspend char>'' suspends the send portion ofthe rlogin, but allows output from the remote system. By default, thetilde (``~'') 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, if supported, stopand start the flow of information, flushing of input and output on interruptsare handled properly.On the server side the iruserok() and ruserok() functions are used toauthenticate see the appropriate man page for more information, if supported.@section Kerberos AuthenticationIf @command{rlogin} was compiled with kerberos support, optins -x, -k, -Kare available. Each user may have a private authorization list in the file.klogin in their home directory. Each line in this file should contain aKerberos principal name of the form principal.instance@@realm. If theoriginating user is authenticated to one of the principals named in .klogin,access is granted to the account. The principal accountname.@@localrealm isgranted access if there is no .klogin file. Otherwise a login and passwordwill be prompted for on the remote machine as in login(1). To avoidcertain security problems, the .klogin file must be owned by the remote user.If Kerberos authentication fails, a warning message is printed and thestandard Berkeley rlogin is used instead.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -