|
|
1.1 root 1: .TH DCON 1
2: .CT 1 comm_mach
3: .SH NAME
4: dcon, ndcon, rlogin, nrx, rsh, scriptcon \- remote login and execution
5: .SH SYNOPSIS
6: .B dcon
7: [
8: .I option ...
9: ]
10: .I machine
11: .PP
12: .B ndcon
13: .I machine
14: .PP
15: .B rlogin
16: .I machine
17: .PP
18: .B nrx
19: .I machine
20: [
21: .I command-word ...
22: ]
23: .PP
24: .B rsh
25: [
26: .I option ...
27: ]
28: .I machine
29: [
30: .I command-word ...
31: ]
32: .PP
33: .B scriptcon
34: .I machine script
35: .SH DESCRIPTION
36: Do not read this page unless you are familiar with
37: .IR con (1).
38: .PP
39: .I Dcon,
40: .I ndcon,
41: and
42: .I rlogin
43: are analogs (or special cases) of
44: .IR con (1)
45: for specific kinds of network connection.
46: They support the same local escape convention with the quit signal.
47: .PP
48: Similarly,
49: .I nrx
50: and
51: .I rsh
52: are analogs of
53: .IR rx.
54: .PP
55: Network addresses are as in
56: .IR con (1).
57: The default networks for the various commands are
58: .TP "\w'dcon, ndcon, nrx 'u
59: .I dcon, ndcon, nrx
60: .B dk
61: .TP
62: .I rlogin, rsh
63: .B tcp
64: .PP
65: .I Dcon
66: connects to the remote machine, and attempts
67: automatically to log in under
68: the login id of the invoking user.
69: Option
70: .BR -l
71: turns off automatic login; the remote machine will ask
72: for a login id and password.
73: .PP
74: .I Ndcon
75: behaves like
76: .I dcon
77: but provides a more transparent
78: transport protocol.
79: In particular terminal line disciplines are preserved
80: and it is possible to download into a
81: .IR mux (9.1)
82: window across an
83: .I ndcon
84: connection.
85: .PP
86: .I Rlogin
87: is like
88: .IR dcon ,
89: but uses the connection protocol
90: found on Berkeley systems.
91: .PP
92: .I Rx
93: (see
94: .IR con (1))
95: executes one shell command on the remote machine
96: as if logged in there,
97: with local standard input and output.
98: It uses a connection protocol specific to Research machines.
99: .PP
100: .I Nrx
101: is to
102: .I rx
103: as
104: .I ndcon
105: is to
106: .IR dcon :
107: it runs a command
108: remotely with line discipline preserved.
109: .PP
110: .I Rsh
111: is to
112: .I rx
113: as
114: .I rlogin
115: is to
116: .IR dcon :
117: it runs a command remotely using the Berkeley execution protocol.
118: .PP
119: .I Scriptcon
120: provides a connection like
121: .BR "dcon \-l" ,
122: except that the login and other initial protocol are
123: controlled by a
124: .I script
125: file.
126: The first line of the file gives a string (e.g.\&
127: .LR login: )
128: expected from the
129: remote machine; the second gives the local response, and
130: so on in alternation.
131: Unrecognized data from the remote machine are ignored.
132: Warning: a script that contains a password
133: may compromise the security of the remote system, hence
134: .I scriptcon
135: should be used only for restricted logins.
136: .PP
137: .I Con
138: tries to connect using the protocol of
139: .IR ndcon ;
140: if that fails,
141: it tries that of
142: .IR dcon ,
143: then that of
144: .IR rlogin .
145: .I Rx
146: attempts its own style of connection;
147: if that fails,
148: it tries that of
149: .IR rsh .
150: .SH "SEE ALSO"
151: .IR con (1),
152: .IR dkmgr (8),
153: .IR svcmgr (8),
154: .IR tcpmgr (8),
155: .IR ipc (3)
156: .br
157: D. L. Presotto,
158: `Interprocess Communication in the Eighth Edition
159: .SM UNIX
160: System',
161: this manual, Volume\ 2
162: .SH BUGS
163: If a program run by
164: .I nrx
165: won't let go, for example by ignoring
166: signals, there is no way of getting out short of hanging up.
167: .br
168: There is no error correction or retry in a
169: .I scriptcon
170: script.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.