~ubuntu-branches/ubuntu/breezy/rsh-redone/breezy

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
.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 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.