freebsd-dev/usr.bin/rlogin/rlogin.1

165 lines
4.6 KiB
Groff
Raw Normal View History

1994-05-27 12:33:43 +00:00
.\" Copyright (c) 1983, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by the University of
.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)rlogin.1 8.1 (Berkeley) 6/6/93
1999-08-28 01:08:13 +00:00
.\" $FreeBSD$
1994-05-27 12:33:43 +00:00
.\"
.Dd September 26, 2003
1994-05-27 12:33:43 +00:00
.Dt RLOGIN 1
.Os
1994-05-27 12:33:43 +00:00
.Sh NAME
.Nm rlogin
.Nd remote login
.Sh SYNOPSIS
.Ar rlogin
.Op Fl 468DEd
1994-05-27 12:33:43 +00:00
.Op Fl e Ar char
.Op Fl i Ar localname
1994-05-27 12:33:43 +00:00
.Op Fl l Ar username
.Ar host
.Sh DESCRIPTION
2002-04-20 12:18:28 +00:00
The
.Nm
utility starts a terminal session on a remote host
2004-07-03 00:24:45 +00:00
.Ar host .
1994-05-27 12:33:43 +00:00
.Pp
2005-01-21 11:09:40 +00:00
The standard Berkeley
1994-05-27 12:33:43 +00:00
.Pa rhosts
authorization mechanism is used.
.Pp
The following options are available:
1994-05-27 12:33:43 +00:00
.Bl -tag -width flag
.It Fl 4
Use IPv4 addresses only.
.It Fl 6
Use IPv6 addresses only.
1994-05-27 12:33:43 +00:00
.It Fl 8
Allow an eight-bit input data path at all times; otherwise
1994-05-27 12:33:43 +00:00
parity bits are stripped except when the remote side's stop and start
characters are other than
^S/^Q.
.It Fl D
Set the TCP_NODELAY socket option which can improve interactive response
at the expense of increased network load.
1994-05-27 12:33:43 +00:00
.It Fl E
Stop any character from being recognized as an escape character.
1994-05-27 12:33:43 +00:00
When used with the
.Fl 8
option, this provides a completely transparent connection.
.It Fl d
Turn on socket debugging (see
1994-05-27 12:33:43 +00:00
.Xr setsockopt 2 )
on the TCP sockets used for communication with the remote host.
.It Fl e
Allow user specification of the escape character, which is
.Dq ~
by default.
1994-05-27 12:33:43 +00:00
This specification may be as a literal character, or as an octal
value in the form \ennn.
.It Fl i
Allow the caller to specify a different local name to be used
for authentication.
This option is restricted to processes with uid 0.
.It Fl l
Specify a different
.Ar username
for the remote login.
If this option is not specified, your local username will be used.
1994-05-27 12:33:43 +00:00
.El
.Pp
A line of the form
.Dq Ao escape char Ac Ns \&.
disconnects from the remote host.
Similarly, the line
.Dq Ao escape char Ac Ns ^Z
will suspend the
.Nm
session, and
2001-01-16 09:39:23 +00:00
.Dq Ao escape\ char Ac Ns Ao delayed-suspend\ char Ac
suspends the
send portion of the
.Nm
session, but allows output from the remote system.
By default, the tilde
.Pq Dq ~
character is the escape character, and
normally control-Y
.Pq Dq ^Y
is the delayed-suspend character.
1994-05-27 12:33:43 +00:00
.Pp
All echoing takes place at the remote site, so that (except for delays)
the
.Nm
1994-05-27 12:33:43 +00:00
is transparent.
Flow control via ^S/^Q and flushing of input and output on interrupts
are handled properly.
.Sh ENVIRONMENT
The following environment variable is utilized by
.Nm :
1994-05-27 12:33:43 +00:00
.Bl -tag -width TERM
.It Ev TERM
Determines the user's terminal type.
.El
2005-01-18 13:43:56 +00:00
.Sh FILES
.Bl -tag -width /etc/hosts -compact
.It Pa /etc/hosts
.It Pa /etc/hosts.equiv
.It Pa /etc/auth.conf
.It Ev $HOME Ns Pa /.rhosts
.El
1994-05-27 12:33:43 +00:00
.Sh SEE ALSO
.Xr login 1 ,
1994-05-27 12:33:43 +00:00
.Xr rsh 1 ,
1996-01-29 00:02:39 +00:00
.Xr telnet 1 ,
.Xr setsockopt 2 ,
.Xr ruserok 3 ,
.Xr tty 4 ,
.Xr auth.conf 5 ,
1996-01-29 00:02:39 +00:00
.Xr hosts 5 ,
.Xr hosts.equiv 5 ,
1997-01-15 23:25:55 +00:00
.Xr rlogind 8 ,
2000-11-15 17:27:54 +00:00
.Xr rshd 8
1994-05-27 12:33:43 +00:00
.Sh HISTORY
The
.Nm
1994-05-27 12:33:43 +00:00
command appeared in
.Bx 4.2 .
.Pp
IPv6 support was added by WIDE/KAME project.
1994-05-27 12:33:43 +00:00
.Sh BUGS
2002-04-20 12:18:28 +00:00
The
.Nm
utility will be replaced by
2004-07-03 00:24:45 +00:00
.Xr telnet 1
1994-05-27 12:33:43 +00:00
in the near future.
.Pp
More of the environment should be propagated.