forked from gsliepen/rsh-redone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrsh.1
49 lines (49 loc) · 964 Bytes
/
rsh.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.Dd Sun, 13 Apr 2003 00:24:32 +0200
.Dt RSH 1
.Sh NAME
.Nm rsh
.Nd remote shell
.Sh SYNOPSIS
.Nm
.Op Fl 46v
.Op Fl l Ar user
.Op Fl p Ar port
.Op Ar user Ns Li @ Ns
.Ar host
.Ar command
.Sh DESCRIPTION
.Nm
makes a connection to the remote shell daemon running on
.Ar host
and starts
.Ar command
on the remote machine.
All input is transmitted to the remote machine and all
output on the remote machine is sent back to the
.Nm
client on the local machine.
.Sh OPTIONS
.Bl -tag -width flag
.It Fl 4
Use only IPv4 to connect to the remote host.
.It Fl 6
Use only IPv6 to connect to the remote host.
.It Fl v
Be verbose.
.It Fl n
Redirect stdin to
.Pa /dev/null
to be able to run rsh in the background.
.It Fl l Ar user
Connect to the remote host as a different user than on the local machine.
.It Fl p Ar port
Connect to a different port than the default one for
.Nm .
.El
.Sh SEE ALSO
.Xr rshd 8 ,
.Xr rlogin 1 ,
.Xr rlogind 8 ,
.Xr rcp 1 ,
.Xr rhosts 5 ,
RFC 1282.