Update.
[shishi.git] / extra / rsh-redone / rsh.1
blobf94b893cc7db2930414d7b672c2d2c38c4c1b330
1 .Dd Sun, 13 Apr 2003 00:24:32 +0200
2 .Dt RSH 1
3 .Sh NAME
4 .Nm rsh
5 .Nd remote shell
6 .Sh SYNOPSIS
7 .Nm
8 .Op Fl 46
9 .Op Fl l Ar user
10 .Op Fl p Ar port
11 .Op Ar user Ns Li @ Ns
12 .Ar host
13 .Ar command
14 .Sh DESCRIPTION
15 .Nm
16 makes a connection to the remote shell daemon running on
17 .Ar host
18 and starts
19 .Ar command
20 on the remote machine.
21 All input is transmitted to the remote machine and all
22 output on the remote machine is sent back to the
23 .Nm
24 client on the local machine.
25 .Sh OPTIONS
26 .Bl -tag -width flag
27 .It Fl 4
28 Use only IPv4 to connect to the remote host.
29 .It Fl 6
30 Use only IPv6 to connect to the remote host.
31 .It Fl l Ar user
32 Connect to the remote host as a different user than on the local machine.
33 .It Fl p Ar port
34 Connect to a different port than the default one for
35 .Nm .
36 .El
37 .Sh SEE ALSO
38 .Xr rshd 8 ,
39 .Xr rlogin 1 ,
40 .Xr rlogind 8 ,
41 .Xr rcp 1 ,
42 .Xr rhosts 5 ,
43 RFC 1282.