net-ssh 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +545 -0
- data/LICENSE +7 -0
- data/NEWS +146 -0
- data/README +14 -0
- data/THANKS +19 -0
- data/bin/rb-keygen +1 -1
- data/doc/manual-html/chapter-1.html +2 -2
- data/doc/manual-html/chapter-2.html +2 -2
- data/doc/manual-html/chapter-3.html +2 -2
- data/doc/manual-html/chapter-4.html +2 -2
- data/doc/manual-html/chapter-5.html +2 -2
- data/doc/manual-html/chapter-6.html +2 -2
- data/doc/manual-html/chapter-7.html +2 -2
- data/doc/manual-html/index.html +2 -2
- data/lib/net/ssh/connection/channel.rb +4 -4
- data/lib/net/ssh/connection/driver.rb +1 -1
- data/lib/net/ssh/host-key-verifier.rb +17 -73
- data/lib/net/ssh/known-hosts.rb +96 -0
- data/lib/net/ssh/proxy/socks5.rb +1 -1
- data/lib/net/ssh/service/agentforward/driver.rb +1 -1
- data/lib/net/ssh/service/process/open.rb +6 -6
- data/lib/net/ssh/service/process/popen3.rb +2 -2
- data/lib/net/ssh/service/shell/shell.rb +9 -0
- data/lib/net/ssh/session.rb +1 -1
- data/lib/net/ssh/transport/algorithm-negotiator.rb +10 -2
- data/lib/net/ssh/transport/packet-stream.rb +1 -1
- data/lib/net/ssh/transport/session.rb +6 -0
- data/lib/net/ssh/userauth/methods/keyboard-interactive.rb +1 -1
- data/lib/net/ssh/userauth/services.rb +1 -1
- data/lib/net/ssh/version.rb +1 -1
- data/test/proxy/tc_socks5.rb +2 -2
- data/test/service/forward/tc_driver.rb +1 -1
- data/test/transport/tc_algorithm_negotiator.rb +1 -0
- data/test/transport/tc_session.rb +1 -1
- data/test/userauth/tc_driver.rb +1 -1
- metadata +9 -3
data/ChangeLog
ADDED
@@ -0,0 +1,545 @@
|
|
1
|
+
2007-06-18 12:07 jamis
|
2
|
+
|
3
|
+
* version bump
|
4
|
+
|
5
|
+
2007-06-18 11:45 jamis
|
6
|
+
|
7
|
+
* Make sure we try and create the directory if it doesn't
|
8
|
+
exist
|
9
|
+
|
10
|
+
2007-06-18 11:35 jamis
|
11
|
+
|
12
|
+
* make sure hosts are written to the known_hosts file in the
|
13
|
+
correct format
|
14
|
+
|
15
|
+
2007-06-18 09:17 jamis
|
16
|
+
|
17
|
+
* Fixed bug #6156 (ruby -w warnings)
|
18
|
+
|
19
|
+
2007-06-18 09:03 jamis
|
20
|
+
|
21
|
+
* Fixed bug #11532 (Hang after MSG_CHANNEL_OPEN_FAILURE)
|
22
|
+
|
23
|
+
2007-06-18 08:39 jamis
|
24
|
+
|
25
|
+
* Fixed bug #10818 (Exception in split_data_for_packet)
|
26
|
+
|
27
|
+
2007-06-18 08:11 jamis
|
28
|
+
|
29
|
+
* Fixed bug 6667 (wrong SOCKS 5 auth version)
|
30
|
+
|
31
|
+
2007-06-18 08:08 jamis
|
32
|
+
|
33
|
+
* update the NEWS file
|
34
|
+
|
35
|
+
2007-06-18 08:05 jamis
|
36
|
+
|
37
|
+
* allow the remaining data to be empty (as it will be,
|
38
|
+
apparently, with some aes ciphers)
|
39
|
+
|
40
|
+
2007-06-18 07:57 jamis
|
41
|
+
|
42
|
+
* Fixed typo that broke :very paranoid setting
|
43
|
+
|
44
|
+
2007-06-18 07:52 jamis
|
45
|
+
|
46
|
+
* use the first known key for a particular host as the
|
47
|
+
preferred key type when negotiating the algorithm, to avoid
|
48
|
+
host key verification problems
|
49
|
+
|
50
|
+
2007-05-10 10:30 jamis
|
51
|
+
|
52
|
+
* turns out the padding didn't help. pulling it
|
53
|
+
|
54
|
+
2007-05-10 09:47 jamis
|
55
|
+
|
56
|
+
* add some padding so the gem file can be installed on windows
|
57
|
+
|
58
|
+
2007-05-09 22:05 jamis
|
59
|
+
|
60
|
+
* Version bump
|
61
|
+
|
62
|
+
2007-05-09 22:03 jamis
|
63
|
+
|
64
|
+
* Fixed broken mkdir in key verifier
|
65
|
+
|
66
|
+
2007-05-09 21:54 jamis
|
67
|
+
|
68
|
+
* Fixed "address family for hostname not supported" errors on
|
69
|
+
windows
|
70
|
+
|
71
|
+
2007-04-30 23:28 jamis
|
72
|
+
|
73
|
+
* update datestamp on the NEWS file
|
74
|
+
|
75
|
+
2007-04-30 22:03 jamis
|
76
|
+
|
77
|
+
* version bump
|
78
|
+
|
79
|
+
2007-04-30 22:02 jamis
|
80
|
+
|
81
|
+
* Updated docs about the :paranoid key
|
82
|
+
|
83
|
+
2007-04-29 22:00 jamis
|
84
|
+
|
85
|
+
* need to return the right values for this to work
|
86
|
+
|
87
|
+
2007-04-29 21:57 jamis
|
88
|
+
|
89
|
+
* Add a "lenient-host-key-verifier" which is used by default,
|
90
|
+
and which tries to detect whether a connection is being
|
91
|
+
tunnelled and if so will not try to verify the host key.
|
92
|
+
|
93
|
+
2007-04-11 00:21 jamis
|
94
|
+
|
95
|
+
* tweak the host key verifier, so that instead of prompting,
|
96
|
+
it raises an exception when a key does not match a
|
97
|
+
previously cached key for host
|
98
|
+
|
99
|
+
2007-04-07 15:42 jamis
|
100
|
+
|
101
|
+
* treat rb-keygen as an executable
|
102
|
+
|
103
|
+
2007-04-07 15:20 jamis
|
104
|
+
|
105
|
+
* version bump
|
106
|
+
|
107
|
+
2007-04-07 15:19 jamis
|
108
|
+
|
109
|
+
* update manual to include :paranoid setting
|
110
|
+
|
111
|
+
2007-04-07 15:13 jamis
|
112
|
+
|
113
|
+
* Add rb-keygen
|
114
|
+
|
115
|
+
2007-04-07 15:09 jamis
|
116
|
+
|
117
|
+
* Host key verification, enabled by default
|
118
|
+
|
119
|
+
2007-04-05 10:37 jamis
|
120
|
+
|
121
|
+
* ssh agent forwarding
|
122
|
+
|
123
|
+
2006-09-09 17:56 jamis
|
124
|
+
|
125
|
+
* Fix rdoc options
|
126
|
+
|
127
|
+
2006-09-09 17:54 jamis
|
128
|
+
|
129
|
+
* update NEWS
|
130
|
+
|
131
|
+
2006-09-09 17:50 jamis
|
132
|
+
|
133
|
+
* Update version
|
134
|
+
|
135
|
+
2006-09-07 12:25 jamis
|
136
|
+
|
137
|
+
* Add support in gemspec for "beta" gems, using the revision
|
138
|
+
number appended to the version
|
139
|
+
|
140
|
+
2006-09-07 12:03 jamis
|
141
|
+
|
142
|
+
* Use read instead of sysread
|
143
|
+
|
144
|
+
2006-09-07 12:03 jamis
|
145
|
+
|
146
|
+
* Use printf instead of echo -n for better compatibility
|
147
|
+
|
148
|
+
2006-09-07 12:03 jamis
|
149
|
+
|
150
|
+
* fix bad syntax
|
151
|
+
|
152
|
+
2006-09-07 11:19 jamis
|
153
|
+
|
154
|
+
* Don't allow the username to be nil
|
155
|
+
|
156
|
+
2006-09-07 10:54 jamis
|
157
|
+
|
158
|
+
* Add a #connection accessor to the session. Add initial
|
159
|
+
support for server-originated global requests.
|
160
|
+
|
161
|
+
2006-04-14 21:10 jamis
|
162
|
+
|
163
|
+
* Fix a bug caused by monkeypatching in Rails
|
164
|
+
|
165
|
+
2006-02-18 20:38 jamis
|
166
|
+
|
167
|
+
* Set release date for 1.0.8
|
168
|
+
|
169
|
+
2006-02-18 20:34 jamis
|
170
|
+
|
171
|
+
* Move connect for forwarded connections outside of thread so
|
172
|
+
errors can be caught. Version bump to 1.0.8.
|
173
|
+
|
174
|
+
2006-01-27 08:38 jamis
|
175
|
+
|
176
|
+
* Set release date for 1.0.7
|
177
|
+
|
178
|
+
2006-01-24 21:32 jamis
|
179
|
+
|
180
|
+
* Fix intermittent corrupt mac bug, caused by threaded apps
|
181
|
+
potentially interrupting the recv operation while reading
|
182
|
+
the hmac from the socket
|
183
|
+
|
184
|
+
2006-01-23 07:41 jamis
|
185
|
+
|
186
|
+
* Remove some unused links from the manual
|
187
|
+
|
188
|
+
2006-01-20 12:36 jamis
|
189
|
+
|
190
|
+
* Remove documentation suggesting that ruby-password will be
|
191
|
+
used if present (it won't)
|
192
|
+
|
193
|
+
2006-01-19 23:18 jamis
|
194
|
+
|
195
|
+
* Update contact address in THANKS file
|
196
|
+
|
197
|
+
2006-01-19 23:07 jamis
|
198
|
+
|
199
|
+
* Update release date
|
200
|
+
|
201
|
+
2006-01-19 23:03 jamis
|
202
|
+
|
203
|
+
* Do not print the banner message by default on authorization
|
204
|
+
(rarely useful for automated processes anyway)
|
205
|
+
|
206
|
+
2006-01-19 22:33 jamis
|
207
|
+
|
208
|
+
* Send NEWKEYS message first, for compability with
|
209
|
+
wodSSHServer (which won't send NEWKEYS until it recieves
|
210
|
+
NEWKEYS from the client). Version bump to 1.0.6.
|
211
|
+
|
212
|
+
2006-01-02 09:51 jamis
|
213
|
+
|
214
|
+
* Update NEWS file
|
215
|
+
|
216
|
+
2005-12-31 23:18 jamis
|
217
|
+
|
218
|
+
* Add connection.ping! and session.ping!. Version bump.
|
219
|
+
|
220
|
+
2005-12-26 19:05 jamis
|
221
|
+
|
222
|
+
* Add some disambiguating parentheses
|
223
|
+
|
224
|
+
2005-12-24 12:59 jamis
|
225
|
+
|
226
|
+
* Fix problems with rake's cd/chdir under Ruby 1.8.4
|
227
|
+
|
228
|
+
2005-12-24 12:50 jamis
|
229
|
+
|
230
|
+
* Update rakefile
|
231
|
+
|
232
|
+
2005-12-24 12:50 jamis
|
233
|
+
|
234
|
+
* Update NEWS file
|
235
|
+
|
236
|
+
2005-12-24 12:47 jamis
|
237
|
+
|
238
|
+
* Fix broken tests under 1.8.4. Change references to obsolete
|
239
|
+
contact email address. Tiny version bump.
|
240
|
+
|
241
|
+
2005-11-09 10:05 jamis
|
242
|
+
|
243
|
+
* Version bump
|
244
|
+
|
245
|
+
2005-11-09 10:03 jamis
|
246
|
+
|
247
|
+
* Don't blow up on windows if the pageant process cannot be
|
248
|
+
found
|
249
|
+
|
250
|
+
2005-07-26 23:12 jamis
|
251
|
+
|
252
|
+
* Updated NEWS file. Fixed README to not indicate that
|
253
|
+
Net::SSH is beta (it's mature, now, and has been for awhile)
|
254
|
+
|
255
|
+
2005-07-26 23:05 jamis
|
256
|
+
|
257
|
+
* Updated recent changes in manual
|
258
|
+
|
259
|
+
2005-07-26 23:04 jamis
|
260
|
+
|
261
|
+
* Corrected documentation for the channel on_request callback
|
262
|
+
|
263
|
+
2005-07-26 23:02 jamis
|
264
|
+
|
265
|
+
* Version bump
|
266
|
+
|
267
|
+
2005-07-26 23:01 jamis
|
268
|
+
|
269
|
+
* Fix channel on_request callback signature. Better thread-
|
270
|
+
safety in the connection driver. Typos.
|
271
|
+
|
272
|
+
2005-06-17 15:46 jamis
|
273
|
+
|
274
|
+
* Fixed address of svn repo
|
275
|
+
|
276
|
+
2005-06-17 15:16 jamis
|
277
|
+
|
278
|
+
* Copy/paste error
|
279
|
+
|
280
|
+
2005-06-17 15:04 jamis
|
281
|
+
|
282
|
+
* Restore task for publishing the user manual
|
283
|
+
|
284
|
+
2005-06-17 14:45 jamis
|
285
|
+
|
286
|
+
* Updated the manual from the defunct Hieraki-based
|
287
|
+
documentation
|
288
|
+
|
289
|
+
2005-06-17 09:41 jamis
|
290
|
+
|
291
|
+
* Version bump
|
292
|
+
|
293
|
+
2005-05-28 20:40 jamis
|
294
|
+
|
295
|
+
* Guard against recursive/simultaneous calls when processing
|
296
|
+
data requests
|
297
|
+
|
298
|
+
2005-04-03 11:17 jamis
|
299
|
+
|
300
|
+
* Added a :timeout option on the transport session
|
301
|
+
|
302
|
+
2005-02-17 13:40 jamis
|
303
|
+
|
304
|
+
* Fix suggested by Peter Verhage that allows the Putty Agent
|
305
|
+
to be used (currently was not working on windows).
|
306
|
+
|
307
|
+
2005-02-06 16:42 jamis
|
308
|
+
|
309
|
+
* Removed pubdoc dependency on pubman in Rakefile, due to
|
310
|
+
pubman having been removed.
|
311
|
+
|
312
|
+
2005-02-06 16:39 jamis
|
313
|
+
|
314
|
+
* Added Daniel Berger to the THANKS file for his help with
|
315
|
+
getting the unit tests to pass under Windows.
|
316
|
+
|
317
|
+
2005-02-06 16:38 jamis
|
318
|
+
|
319
|
+
* Updated the NEWS file for the 1.0 release.
|
320
|
+
|
321
|
+
2005-02-06 16:34 jamis
|
322
|
+
|
323
|
+
* ChangeLog generation is automated again. The new svn log is
|
324
|
+
reformatted and prepended to the original CVS log
|
325
|
+
(ChangeLog.cvs).
|
326
|
+
|
327
|
+
2005-02-06 15:57 jamis
|
328
|
+
|
329
|
+
* Manual builder was still wrapped in the Needle module (from
|
330
|
+
which it was copied). Version bumped to 1.0.0.
|
331
|
+
|
332
|
+
2005-02-01 12:20 jamis
|
333
|
+
|
334
|
+
* Allow a password to be specified programatically for
|
335
|
+
keyboard-interactive. This allows keyboard-interactive to be
|
336
|
+
used in many cases just like 'password'.
|
337
|
+
|
338
|
+
2005-01-25 11:44 jamis
|
339
|
+
|
340
|
+
* All tests (except the integration tests) pass on Windows
|
341
|
+
now. Perhaps even some of the random "corrupted hmac" errors
|
342
|
+
I've seen occur on occassion will be fixed now...
|
343
|
+
|
344
|
+
2005-01-25 07:54 jamis
|
345
|
+
|
346
|
+
* Removed extraneous whitespace between list items.
|
347
|
+
|
348
|
+
2005-01-14 15:28 jamis
|
349
|
+
|
350
|
+
* Channels now respect their own local window and maximum
|
351
|
+
packet sizes, and report reasonable values to the server.
|
352
|
+
This fixes a bug that caused problems when large quantities
|
353
|
+
of data were requested of the server and certain server-
|
354
|
+
maximums were being exceeded.
|
355
|
+
|
356
|
+
2005-01-12 10:11 jamis
|
357
|
+
|
358
|
+
* hostbased bug has been (tentatively) squashed
|
359
|
+
|
360
|
+
2005-01-12 10:10 jamis
|
361
|
+
|
362
|
+
* Use Socket#close instead of Socket#shutdown. Also, hostname
|
363
|
+
look up is more intelligent and should never raise an
|
364
|
+
exception--it will instead log an error if the hostname
|
365
|
+
absolutely cannot be looked up.
|
366
|
+
|
367
|
+
2005-01-12 10:07 jamis
|
368
|
+
|
369
|
+
* The authentication process is now aware of the
|
370
|
+
authentication methods that the server has indicated can
|
371
|
+
possibly succeed. Methods that cannot possibly succeed will
|
372
|
+
no longer even be attempted.
|
373
|
+
|
374
|
+
2005-01-12 09:35 jamis
|
375
|
+
|
376
|
+
* Use Socket#close instead of Socket#shutdown in the proxy
|
377
|
+
unit tests. This allows the tests to pass when run in
|
378
|
+
Windows.
|
379
|
+
|
380
|
+
2005-01-11 16:21 jamis
|
381
|
+
|
382
|
+
* Rakefile was removing ChangeLog. Added bug with hostbased to
|
383
|
+
TODO.
|
384
|
+
|
385
|
+
2005-01-11 14:38 jamis
|
386
|
+
|
387
|
+
* Added a "tag" task for easier tagging off the current HEAD.
|
388
|
+
|
389
|
+
2005-01-11 14:31 jamis
|
390
|
+
|
391
|
+
* Rakefile no longer tries to build the changelog.
|
392
|
+
|
393
|
+
2005-01-11 14:12 jamis
|
394
|
+
|
395
|
+
* Added the ChangeLog and updated the NEWS file.
|
396
|
+
|
397
|
+
2005-01-11 14:01 jamis
|
398
|
+
|
399
|
+
* Bumped version, updated NEWS, and added more feature
|
400
|
+
demonstrations to the sync-shell-demo.rb script.
|
401
|
+
|
402
|
+
2005-01-11 13:46 jamis
|
403
|
+
|
404
|
+
* Added syntax highlighted code blocks, and shell
|
405
|
+
documentation. Also tweaked stylesheets.
|
406
|
+
|
407
|
+
2005-01-11 09:07 jamis
|
408
|
+
|
409
|
+
* Simplified the shell service. The 'stdout' and 'stderr',
|
410
|
+
etc. parameters to the service were not working anyway, and
|
411
|
+
may be better implemented as a wrapper around the shell
|
412
|
+
service, anyway.
|
413
|
+
|
414
|
+
2005-01-10 16:39 jamis
|
415
|
+
|
416
|
+
* Changed copyright line and author email address.
|
417
|
+
|
418
|
+
2005-01-10 16:30 jamis
|
419
|
+
|
420
|
+
* Added SyncShell subservice, reimplemented ssh-client demo,
|
421
|
+
and added demos for both Shell and SyncShell.
|
422
|
+
|
423
|
+
2005-01-10 12:50 jamis
|
424
|
+
|
425
|
+
* Added first pass at the shell service, and updated the ssh-
|
426
|
+
client to use it. Also fixed some breakage in the popen3
|
427
|
+
test cases.
|
428
|
+
|
429
|
+
2005-01-09 14:14 jamis
|
430
|
+
|
431
|
+
* Keyboard-interactive is correctly implemented now.
|
432
|
+
|
433
|
+
2005-01-09 12:17 jamis
|
434
|
+
|
435
|
+
* Getting better at dealing with interactive processes. Added
|
436
|
+
an ssh-client demo.
|
437
|
+
|
438
|
+
2005-01-07 13:12 minam
|
439
|
+
|
440
|
+
* Name of the cvs2cl executable changed. Added more TODO's, to keep
|
441
|
+
me busy with.
|
442
|
+
|
443
|
+
2005-01-04 20:49 minam
|
444
|
+
|
445
|
+
* Added "host" and "options" attributes to Session (thanks to
|
446
|
+
Daniel Hobe).
|
447
|
+
|
448
|
+
2005-01-04 13:17 minam
|
449
|
+
|
450
|
+
* Raise an error if an attempt is made to load a file as a public
|
451
|
+
key, which is not a public key.
|
452
|
+
|
453
|
+
2005-01-04 12:27 minam
|
454
|
+
|
455
|
+
* If an agent wasn't running, the authentication would fail with an
|
456
|
+
unhelpful error. This fix should allow authentication to proceed,
|
457
|
+
even in the absense of an ssh-agent.
|
458
|
+
|
459
|
+
2004-12-01 22:12 minam
|
460
|
+
|
461
|
+
* Updated NEWS file.
|
462
|
+
|
463
|
+
2004-12-01 21:26 minam
|
464
|
+
|
465
|
+
* Pageant support! Fixed documentation. Bumped version to 0.6.0.
|
466
|
+
Added support for external services. The USERNAME environment
|
467
|
+
variable is used if USER is not set. Moved the README to the
|
468
|
+
project root (for consistency with other project files). Fixed
|
469
|
+
some documentation typos.
|
470
|
+
|
471
|
+
2004-11-23 13:42 minam
|
472
|
+
|
473
|
+
* Forgot to include the 'examples' subdirectory in the packages.
|
474
|
+
|
475
|
+
2004-11-23 13:21 minam
|
476
|
+
|
477
|
+
* Cut-and-paste errors. :(
|
478
|
+
|
479
|
+
2004-11-23 13:17 minam
|
480
|
+
|
481
|
+
* Added date of this release to NEWS file.
|
482
|
+
|
483
|
+
2004-11-23 13:16 minam
|
484
|
+
|
485
|
+
* Minor rakefile tweakage.
|
486
|
+
|
487
|
+
2004-11-23 13:14 minam
|
488
|
+
|
489
|
+
* Added Needle as a dependency in gemspec.
|
490
|
+
|
491
|
+
2004-11-23 13:12 minam
|
492
|
+
|
493
|
+
* Updated TODO (prompter impl was added)
|
494
|
+
|
495
|
+
2004-11-23 13:11 minam
|
496
|
+
|
497
|
+
* Added a prompter implementation, instead of depending on
|
498
|
+
ruby-password.
|
499
|
+
|
500
|
+
2004-11-23 12:43 minam
|
501
|
+
|
502
|
+
* :verbose and :log options were not being removed from the options
|
503
|
+
before being passed to the transport layer, which was causing the
|
504
|
+
transport layer to fail.
|
505
|
+
|
506
|
+
2004-11-23 12:42 minam
|
507
|
+
|
508
|
+
* Oops. :verbosity should have been :verbose.
|
509
|
+
|
510
|
+
2004-11-23 12:40 minam
|
511
|
+
|
512
|
+
* Documented the :log and :verbosity options.
|
513
|
+
|
514
|
+
2004-11-23 12:37 minam
|
515
|
+
|
516
|
+
* Added examples. Made it easier to customize logging in
|
517
|
+
Net::SSH::Session.
|
518
|
+
|
519
|
+
2004-11-23 11:45 minam
|
520
|
+
|
521
|
+
* Changed FAQ link.
|
522
|
+
|
523
|
+
2004-11-23 11:29 minam
|
524
|
+
|
525
|
+
* Updated manual for new version.
|
526
|
+
|
527
|
+
2004-11-23 11:28 minam
|
528
|
+
|
529
|
+
* Updated TODO list. Fixed a documentation typo in channel.rb.
|
530
|
+
|
531
|
+
2004-11-22 14:37 minam
|
532
|
+
|
533
|
+
* Added :coverage goal, to run rcov on the unit tests.
|
534
|
+
|
535
|
+
2004-11-22 14:05 minam
|
536
|
+
|
537
|
+
* *sigh* These shouldn't have been checked it. :(
|
538
|
+
|
539
|
+
2004-11-22 13:52 minam
|
540
|
+
|
541
|
+
* Initial revision
|
542
|
+
|
543
|
+
2004-11-22 13:52 minam
|
544
|
+
|
545
|
+
* Refactored the whole blame thing
|