<table class="text">
<tr class="li1"><td class="ln"><pre class="de1">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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450 Running transaction check ---> Package gcc.x86_64 0:4.4.7-18.el6 will be installed --> Processing Dependency: libgomp = 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64 --> Processing Dependency: cpp = 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.7-18.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-18.el6.x86_64 --> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.4.7-18.el6.x86_64 --> Running transaction check ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.7-18.el6 will be installed --> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-18.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.209.el6_9.2 will be installed --> Processing Dependency: glibc-headers = 2.12-1.209.el6_9.2 for package: glibc-devel-2.12-1.209.el6_9.2.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.209.el6_9.2.x86_64 ---> Package libgomp.x86_64 0:4.4.7-18.el6 will be installed --> Running transaction check ---> Package glibc-headers.x86_64 0:2.12-1.209.el6_9.2 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.209.el6_9.2.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.209.el6_9.2.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed --> Running transaction check ---> Package kernel-headers.x86_64 0:2.6.32-696.13.2.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================================================================================================================== Package Arch Version Repository Size ========================================================================================================================================================================================================== Installing: gcc x86_64 4.4.7-18.el6 base 10 M Installing for dependencies: cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k cpp x86_64 4.4.7-18.el6 base 3.7 M glibc-devel x86_64 2.12-1.209.el6_9.2 updates 991 k glibc-headers x86_64 2.12-1.209.el6_9.2 updates 620 k kernel-headers x86_64 2.6.32-696.13.2.el6 updates 4.5 M libgomp x86_64 4.4.7-18.el6 base 134 k mpfr x86_64 2.4.1-6.el6 base 157 k ppl x86_64 0.10.2-11.el6 base 1.3 M Transaction Summary ========================================================================================================================================================================================================== Install 9 Package(s) Total download size: 22 M Installed size: 39 M Downloading Packages: (1/9): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm | 93 kB 00:00 (2/9): cpp-4.4.7-18.el6.x86_64.rpm | 3.7 MB 00:15 (3/9): gcc-4.4.7-18.el6.x86_64.rpm | 10 MB 00:44 (4/9): glibc-devel-2.12-1.209.el6_9.2.x86_64.rpm | 991 kB 00:02 (5/9): glibc-headers-2.12-1.209.el6_9.2.x86_64.rpm | 620 kB 00:01 (6/9): kernel-headers-2.6.32-696.13.2.el6.x86_64.rpm | 4.5 MB 00:12 (7/9): libgomp-4.4.7-18.el6.x86_64.rpm | 134 kB 00:00 (8/9): mpfr-2.4.1-6.el6.x86_64.rpm | 157 kB 00:00 (9/9): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:06 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 257 kB/s | 22 MB 01:25 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : ppl-0.10.2-11.el6.x86_64 1/9 Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 2/9 Installing : kernel-headers-2.6.32-696.13.2.el6.x86_64 3/9 Installing : glibc-headers-2.12-1.209.el6_9.2.x86_64 4/9 Installing : glibc-devel-2.12-1.209.el6_9.2.x86_64 5/9 Installing : mpfr-2.4.1-6.el6.x86_64 6/9 Installing : cpp-4.4.7-18.el6.x86_64 7/9 Installing : libgomp-4.4.7-18.el6.x86_64 8/9 Installing : gcc-4.4.7-18.el6.x86_64 9/9 Verifying : glibc-headers-2.12-1.209.el6_9.2.x86_64 1/9 Verifying : cpp-4.4.7-18.el6.x86_64 2/9 Verifying : libgomp-4.4.7-18.el6.x86_64 3/9 Verifying : mpfr-2.4.1-6.el6.x86_64 4/9 Verifying : glibc-devel-2.12-1.209.el6_9.2.x86_64 5/9 Verifying : kernel-headers-2.6.32-696.13.2.el6.x86_64 6/9 Verifying : gcc-4.4.7-18.el6.x86_64 7/9 Verifying : ppl-0.10.2-11.el6.x86_64 8/9 Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 9/9 Installed: gcc.x86_64 0:4.4.7-18.el6 Dependency Installed: cloog-ppl.x86_64 0:0.15.7-1.2.el6 cpp.x86_64 0:4.4.7-18.el6 glibc-devel.x86_64 0:2.12-1.209.el6_9.2 glibc-headers.x86_64 0:2.12-1.209.el6_9.2 kernel-headers.x86_64 0:2.6.32-696.13.2.el6 libgomp.x86_64 0:4.4.7-18.el6 mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6 Complete! [root@master /]# yum install -y vim Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.btte.net * extras: mirrors.btte.net * updates: mirrors.163.com Resolving Dependencies --> Running transaction check ---> Package vim-enhanced.x86_64 2:7.4.629-5.el6_8.1 will be installed --> Processing Dependency: vim-common = 2:7.4.629-5.el6_8.1 for package: 2:vim-enhanced-7.4.629-5.el6_8.1.x86_64 --> Processing Dependency: which for package: 2:vim-enhanced-7.4.629-5.el6_8.1.x86_64 --> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package: 2:vim-enhanced-7.4.629-5.el6_8.1.x86_64 --> Processing Dependency: libperl.so()(64bit) for package: 2:vim-enhanced-7.4.629-5.el6_8.1.x86_64 --> Processing Dependency: libgpm.so.2()(64bit) for package: 2:vim-enhanced-7.4.629-5.el6_8.1.x86_64 --> Running transaction check ---> Package gpm-libs.x86_64 0:1.20.6-12.el6 will be installed ---> Package perl.x86_64 4:5.10.1-144.el6 will be installed --> Processing Dependency: perl(version) for package: 4:perl-5.10.1-144.el6.x86_64 --> Processing Dependency: perl(Pod::Simple) for package: 4:perl-5.10.1-144.el6.x86_64 --> Processing Dependency: perl(Module::Pluggable) for package: 4:perl-5.10.1-144.el6.x86_64 ---> Package perl-libs.x86_64 4:5.10.1-144.el6 will be installed ---> Package vim-common.x86_64 2:7.4.629-5.el6_8.1 will be installed --> Processing Dependency: vim-filesystem for package: 2:vim-common-7.4.629-5.el6_8.1.x86_64 ---> Package which.x86_64 0:2.19-6.el6 will be installed --> Running transaction check ---> Package perl-Module-Pluggable.x86_64 1:3.90-144.el6 will be installed ---> Package perl-Pod-Simple.x86_64 1:3.13-144.el6 will be installed --> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.13-144.el6.x86_64 ---> Package perl-version.x86_64 3:0.77-144.el6 will be installed ---> Package vim-filesystem.x86_64 2:7.4.629-5.el6_8.1 will be installed --> Running transaction check ---> Package perl-Pod-Escapes.x86_64 1:1.04-144.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================================================================================================================== Package Arch Version Repository Size ========================================================================================================================================================================================================== Installing: vim-enhanced x86_64 2:7.4.629-5.el6_8.1 base 1.0 M Installing for dependencies: gpm-libs x86_64 1.20.6-12.el6 base 28 k perl x86_64 4:5.10.1-144.el6 base 10 M perl-Module-Pluggable x86_64 1:3.90-144.el6 base 41 k perl-Pod-Escapes x86_64 1:1.04-144.el6 base 33 k perl-Pod-Simple x86_64 1:3.13-144.el6 base 213 k perl-libs x86_64 4:5.10.1-144.el6 base 579 k perl-version x86_64 3:0.77-144.el6 base 52 k vim-common x86_64 2:7.4.629-5.el6_8.1 base 6.7 M vim-filesystem x86_64 2:7.4.629-5.el6_8.1 base 15 k which x86_64 2.19-6.el6 base 38 k Transaction Summary ========================================================================================================================================================================================================== Install 11 Package(s) Total download size: 19 M Installed size: 59 M Downloading Packages: (1/11): gpm-libs-1.20.6-12.el6.x86_64.rpm | 28 kB 00:00 (2/11): perl-5.10.1-144.el6.x86_64.rpm | 10 MB 00:28 (3/11): perl-Module-Pluggable-3.90-144.el6.x86_64.rpm | 41 kB 00:00 (4/11): perl-Pod-Escapes-1.04-144.el6.x86_64.rpm | 33 kB 00:00 (5/11): perl-Pod-Simple-3.13-144.el6.x86_64.rpm | 213 kB 00:00 (6/11): perl-libs-5.10.1-144.el6.x86_64.rpm | 579 kB 00:01 (7/11): perl-version-0.77-144.el6.x86_64.rpm | 52 kB 00:00 (8/11): vim-common-7.4.629-5.el6_8.1.x86_64.rpm | 6.7 MB 00:19 (9/11): vim-enhanced-7.4.629-5.el6_8.1.x86_64.rpm | 1.0 MB 00:02 (10/11): vim-filesystem-7.4.629-5.el6_8.1.x86_64.rpm | 15 kB 00:00 (11/11): which-2.19-6.el6.x86_64.rpm | 38 kB 00:00 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 363 kB/s | 19 MB 00:53 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : 1:perl-Pod-Escapes-1.04-144.el6.x86_64 1/11 Installing : 4:perl-libs-5.10.1-144.el6.x86_64 2/11 Installing : 1:perl-Pod-Simple-3.13-144.el6.x86_64 3/11 Installing : 1:perl-Module-Pluggable-3.90-144.el6.x86_64 4/11 Installing : 3:perl-version-0.77-144.el6.x86_64 5/11 Installing : 4:perl-5.10.1-144.el6.x86_64 6/11 Installing : gpm-libs-1.20.6-12.el6.x86_64 7/11 Installing : which-2.19-6.el6.x86_64 8/11 Installing : 2:vim-filesystem-7.4.629-5.el6_8.1.x86_64 9/11 Installing : 2:vim-common-7.4.629-5.el6_8.1.x86_64 10/11 Installing : 2:vim-enhanced-7.4.629-5.el6_8.1.x86_64 11/11 Verifying : 3:perl-version-0.77-144.el6.x86_64 1/11 Verifying : 4:perl-libs-5.10.1-144.el6.x86_64 2/11 Verifying : 2:vim-common-7.4.629-5.el6_8.1.x86_64 3/11 Verifying : 4:perl-5.10.1-144.el6.x86_64 4/11 Verifying : 2:vim-filesystem-7.4.629-5.el6_8.1.x86_64 5/11 Verifying : which-2.19-6.el6.x86_64 6/11 Verifying : 2:vim-enhanced-7.4.629-5.el6_8.1.x86_64 7/11 Verifying : 1:perl-Pod-Simple-3.13-144.el6.x86_64 8/11 Verifying : 1:perl-Pod-Escapes-1.04-144.el6.x86_64 9/11 Verifying : 1:perl-Module-Pluggable-3.90-144.el6.x86_64 10/11 Verifying : gpm-libs-1.20.6-12.el6.x86_64 11/11 Installed: vim-enhanced.x86_64 2:7.4.629-5.el6_8.1 Dependency Installed: gpm-libs.x86_64 0:1.20.6-12.el6 perl.x86_64 4:5.10.1-144.el6 perl-Module-Pluggable.x86_64 1:3.90-144.el6 perl-Pod-Escapes.x86_64 1:1.04-144.el6 perl-Pod-Simple.x86_64 1:3.13-144.el6 perl-libs.x86_64 4:5.10.1-144.el6 perl-version.x86_64 3:0.77-144.el6 vim-common.x86_64 2:7.4.629-5.el6_8.1 vim-filesystem.x86_64 2:7.4.629-5.el6_8.1 which.x86_64 0:2.19-6.el6 Complete! [root@master /]# yum install -y lrzsz Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.btte.net * extras: mirrors.btte.net * updates: mirrors.163.com Resolving Dependencies --> Running transaction check ---> Package lrzsz.x86_64 0:0.12.20-27.1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================================================================================================================== Package Arch Version Repository Size ========================================================================================================================================================================================================== Installing: lrzsz x86_64 0.12.20-27.1.el6 base 71 k Transaction Summary ========================================================================================================================================================================================================== Install 1 Package(s) Total download size: 71 k Installed size: 159 k Downloading Packages: lrzsz-0.12.20-27.1.el6.x86_64.rpm | 71 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : lrzsz-0.12.20-27.1.el6.x86_64 1/1 Verifying : lrzsz-0.12.20-27.1.el6.x86_64 1/1 Installed: lrzsz.x86_64 0:0.12.20-27.1.el6 Complete! [root@master /]# yum -y install openssh-server Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.btte.net * extras: mirrors.btte.net * updates: mirrors.163.com Resolving Dependencies --> Running transaction check ---> Package openssh-server.x86_64 0:5.3p1-122.el6 will be updated ---> Package openssh-server.x86_64 0:5.3p1-123.el6_9 will be an update --> Processing Dependency: openssh = 5.3p1-123.el6_9 for package: openssh-server-5.3p1-123.el6_9.x86_64 --> Running transaction check ---> Package openssh.x86_64 0:5.3p1-122.el6 will be updated ---> Package openssh.x86_64 0:5.3p1-123.el6_9 will be an update --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================================================================================================================== Package Arch Version Repository Size ========================================================================================================================================================================================================== Updating: openssh-server x86_64 5.3p1-123.el6_9 updates 329 k Updating for dependencies: openssh x86_64 5.3p1-123.el6_9 updates 277 k Transaction Summary ========================================================================================================================================================================================================== Upgrade 2 Package(s) Total download size: 607 k Downloading Packages: (1/2): openssh-5.3p1-123.el6_9.x86_64.rpm | 277 kB 00:00 (2/2): openssh-server-5.3p1-123.el6_9.x86_64.rpm | 329 kB 00:00 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 344 kB/s | 607 kB 00:01 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : openssh-5.3p1-123.el6_9.x86_64 1/4 Updating : openssh-server-5.3p1-123.el6_9.x86_64 2/4 Cleanup : openssh-server-5.3p1-122.el6.x86_64 3/4 Cleanup : openssh-5.3p1-122.el6.x86_64 4/4 Verifying : openssh-5.3p1-123.el6_9.x86_64 1/4 Verifying : openssh-server-5.3p1-123.el6_9.x86_64 2/4 Verifying : openssh-server-5.3p1-122.el6.x86_64 3/4 Verifying : openssh-5.3p1-122.el6.x86_64 4/4 Updated: openssh-server.x86_64 0:5.3p1-123.el6_9 Dependency Updated: openssh.x86_64 0:5.3p1-123.el6_9 Complete! [root@master /]# yum -y install openssh-clients Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.btte.net * extras: mirrors.btte.net * updates: mirrors.163.com Resolving Dependencies --> Running transaction check ---> Package openssh-clients.x86_64 0:5.3p1-123.el6_9 will be installed --> Processing Dependency: libedit.so.0()(64bit) for package: openssh-clients-5.3p1-123.el6_9.x86_64 --> Running transaction check ---> Package libedit.x86_64 0:2.11-4.20080712cvs.1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================================================================================================================== Package Arch Version Repository Size ========================================================================================================================================================================================================== Installing: openssh-clients x86_64 5.3p1-123.el6_9 updates 444 k Installing for dependencies: libedit x86_64 2.11-4.20080712cvs.1.el6 base 74 k Transaction Summary ========================================================================================================================================================================================================== Install 2 Package(s) Total download size: 518 k Installed size: 1.5 M Downloading Packages: (1/2): libedit-2.11-4.20080712cvs.1.el6.x86_64.rpm | 74 kB 00:00 (2/2): openssh-clients-5.3p1-123.el6_9.x86_64.rpm | 444 kB 00:01 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 252 kB/s | 518 kB 00:02 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : libedit-2.11-4.20080712cvs.1.el6.x86_64 1/2 Installing : openssh-clients-5.3p1-123.el6_9.x86_64 2/2 Verifying : openssh-clients-5.3p1-123.el6_9.x86_64 1/2 Verifying : libedit-2.11-4.20080712cvs.1.el6.x86_64 2/2 Installed: openssh-clients.x86_64 0:5.3p1-123.el6_9 Dependency Installed: libedit.x86_64 0:2.11-4.20080712cvs.1.el6 Complete! [root@master /]# vim /etc/ssh/sshd_config 放开PermitEmptyPasswords no 更改UsePAM no 放开PermitRootLogin yes [root@master /]# service sshd start Generating SSH2 RSA host key: [ OK ] Generating SSH1 RSA host key: [ OK ] Generating SSH2 DSA host key: [ OK ] Starting sshd: [ OK ] [root@master /]# ssh-keygen -t rsa -P '' -f ~/.ssh/id_dsa Generating public/private rsa key pair. Created directory '/root/.ssh'. Your identification has been saved in /root/.ssh/id_dsa. Your public key has been saved in /root/.ssh/id_dsa.pub. The key fingerprint is: 67:df:2a:0a:2c:f0:72:c8:46:67:80:93:2d:cc:19:73 root@master The key's randomart image is: +--[ RSA 2048]----+ | o E | |o+= | |=+o | | o . | | o o S o | | o * . o . . | | = + o . . | | . o . . . . | | .. .. | +-----------------+ [root@master /]# cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys [root@master /]# ssh master The authenticity of host 'master (172.17.0.37)' can't be established. RSA key fingerprint is df:41:8b:71:b5:bc:06:f6:d7:be:ef:3a:32:e6:64:f4. Are you sure you want to continue connecting (yes/no)? y Please type 'yes' or 'no': yes Warning: Permanently added 'master,172.17.0.37' (RSA) to the list of known hosts. [root@master ~]# ssh -o StrictHostKeyChecking=no master Last login: Mon Nov 6 22:00:21 2017 from master