net-ssh-net-ssh 2.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/CHANGELOG.rdoc +137 -0
  2. data/Manifest +104 -0
  3. data/README.rdoc +110 -0
  4. data/Rakefile +79 -0
  5. data/THANKS.rdoc +16 -0
  6. data/lib/net/ssh.rb +215 -0
  7. data/lib/net/ssh/authentication/agent.rb +176 -0
  8. data/lib/net/ssh/authentication/constants.rb +18 -0
  9. data/lib/net/ssh/authentication/key_manager.rb +193 -0
  10. data/lib/net/ssh/authentication/methods/abstract.rb +60 -0
  11. data/lib/net/ssh/authentication/methods/hostbased.rb +71 -0
  12. data/lib/net/ssh/authentication/methods/keyboard_interactive.rb +66 -0
  13. data/lib/net/ssh/authentication/methods/password.rb +39 -0
  14. data/lib/net/ssh/authentication/methods/publickey.rb +92 -0
  15. data/lib/net/ssh/authentication/pageant.rb +183 -0
  16. data/lib/net/ssh/authentication/session.rb +134 -0
  17. data/lib/net/ssh/buffer.rb +340 -0
  18. data/lib/net/ssh/buffered_io.rb +149 -0
  19. data/lib/net/ssh/config.rb +181 -0
  20. data/lib/net/ssh/connection/channel.rb +625 -0
  21. data/lib/net/ssh/connection/constants.rb +33 -0
  22. data/lib/net/ssh/connection/session.rb +596 -0
  23. data/lib/net/ssh/connection/term.rb +178 -0
  24. data/lib/net/ssh/errors.rb +85 -0
  25. data/lib/net/ssh/key_factory.rb +102 -0
  26. data/lib/net/ssh/known_hosts.rb +129 -0
  27. data/lib/net/ssh/loggable.rb +61 -0
  28. data/lib/net/ssh/packet.rb +102 -0
  29. data/lib/net/ssh/prompt.rb +93 -0
  30. data/lib/net/ssh/proxy/errors.rb +14 -0
  31. data/lib/net/ssh/proxy/http.rb +94 -0
  32. data/lib/net/ssh/proxy/socks4.rb +70 -0
  33. data/lib/net/ssh/proxy/socks5.rb +129 -0
  34. data/lib/net/ssh/ruby_compat.rb +7 -0
  35. data/lib/net/ssh/service/forward.rb +267 -0
  36. data/lib/net/ssh/test.rb +89 -0
  37. data/lib/net/ssh/test/channel.rb +129 -0
  38. data/lib/net/ssh/test/extensions.rb +152 -0
  39. data/lib/net/ssh/test/kex.rb +44 -0
  40. data/lib/net/ssh/test/local_packet.rb +51 -0
  41. data/lib/net/ssh/test/packet.rb +81 -0
  42. data/lib/net/ssh/test/remote_packet.rb +38 -0
  43. data/lib/net/ssh/test/script.rb +157 -0
  44. data/lib/net/ssh/test/socket.rb +59 -0
  45. data/lib/net/ssh/transport/algorithms.rb +384 -0
  46. data/lib/net/ssh/transport/cipher_factory.rb +84 -0
  47. data/lib/net/ssh/transport/constants.rb +30 -0
  48. data/lib/net/ssh/transport/hmac.rb +31 -0
  49. data/lib/net/ssh/transport/hmac/abstract.rb +78 -0
  50. data/lib/net/ssh/transport/hmac/md5.rb +12 -0
  51. data/lib/net/ssh/transport/hmac/md5_96.rb +11 -0
  52. data/lib/net/ssh/transport/hmac/none.rb +15 -0
  53. data/lib/net/ssh/transport/hmac/sha1.rb +13 -0
  54. data/lib/net/ssh/transport/hmac/sha1_96.rb +11 -0
  55. data/lib/net/ssh/transport/identity_cipher.rb +55 -0
  56. data/lib/net/ssh/transport/kex.rb +13 -0
  57. data/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb +208 -0
  58. data/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb +77 -0
  59. data/lib/net/ssh/transport/openssl.rb +128 -0
  60. data/lib/net/ssh/transport/packet_stream.rb +230 -0
  61. data/lib/net/ssh/transport/server_version.rb +69 -0
  62. data/lib/net/ssh/transport/session.rb +276 -0
  63. data/lib/net/ssh/transport/state.rb +206 -0
  64. data/lib/net/ssh/verifiers/lenient.rb +30 -0
  65. data/lib/net/ssh/verifiers/null.rb +12 -0
  66. data/lib/net/ssh/verifiers/strict.rb +53 -0
  67. data/lib/net/ssh/version.rb +62 -0
  68. data/net-ssh.gemspec +128 -0
  69. data/setup.rb +1585 -0
  70. data/test/authentication/methods/common.rb +28 -0
  71. data/test/authentication/methods/test_abstract.rb +51 -0
  72. data/test/authentication/methods/test_hostbased.rb +114 -0
  73. data/test/authentication/methods/test_keyboard_interactive.rb +98 -0
  74. data/test/authentication/methods/test_password.rb +50 -0
  75. data/test/authentication/methods/test_publickey.rb +127 -0
  76. data/test/authentication/test_agent.rb +205 -0
  77. data/test/authentication/test_key_manager.rb +105 -0
  78. data/test/authentication/test_session.rb +93 -0
  79. data/test/common.rb +106 -0
  80. data/test/configs/eqsign +3 -0
  81. data/test/configs/exact_match +8 -0
  82. data/test/configs/wild_cards +14 -0
  83. data/test/connection/test_channel.rb +452 -0
  84. data/test/connection/test_session.rb +488 -0
  85. data/test/test_all.rb +6 -0
  86. data/test/test_buffer.rb +336 -0
  87. data/test/test_buffered_io.rb +63 -0
  88. data/test/test_config.rb +84 -0
  89. data/test/test_key_factory.rb +67 -0
  90. data/test/transport/hmac/test_md5.rb +39 -0
  91. data/test/transport/hmac/test_md5_96.rb +25 -0
  92. data/test/transport/hmac/test_none.rb +34 -0
  93. data/test/transport/hmac/test_sha1.rb +34 -0
  94. data/test/transport/hmac/test_sha1_96.rb +25 -0
  95. data/test/transport/kex/test_diffie_hellman_group1_sha1.rb +146 -0
  96. data/test/transport/kex/test_diffie_hellman_group_exchange_sha1.rb +92 -0
  97. data/test/transport/test_algorithms.rb +302 -0
  98. data/test/transport/test_cipher_factory.rb +171 -0
  99. data/test/transport/test_hmac.rb +34 -0
  100. data/test/transport/test_identity_cipher.rb +40 -0
  101. data/test/transport/test_packet_stream.rb +435 -0
  102. data/test/transport/test_server_version.rb +68 -0
  103. data/test/transport/test_session.rb +315 -0
  104. data/test/transport/test_state.rb +173 -0
  105. metadata +162 -0
metadata ADDED
@@ -0,0 +1,162 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: net-ssh-net-ssh
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.12
5
+ platform: ruby
6
+ authors:
7
+ - Jamis Buck
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-05-16 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol."
17
+ email: net-ssh@solutious.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - README.rdoc
24
+ - THANKS.rdoc
25
+ - CHANGELOG.rdoc
26
+ files:
27
+ - CHANGELOG.rdoc
28
+ - Manifest
29
+ - README.rdoc
30
+ - Rakefile
31
+ - THANKS.rdoc
32
+ - lib/net/ssh.rb
33
+ - lib/net/ssh/authentication/agent.rb
34
+ - lib/net/ssh/authentication/constants.rb
35
+ - lib/net/ssh/authentication/key_manager.rb
36
+ - lib/net/ssh/authentication/methods/abstract.rb
37
+ - lib/net/ssh/authentication/methods/hostbased.rb
38
+ - lib/net/ssh/authentication/methods/keyboard_interactive.rb
39
+ - lib/net/ssh/authentication/methods/password.rb
40
+ - lib/net/ssh/authentication/methods/publickey.rb
41
+ - lib/net/ssh/authentication/pageant.rb
42
+ - lib/net/ssh/authentication/session.rb
43
+ - lib/net/ssh/buffer.rb
44
+ - lib/net/ssh/buffered_io.rb
45
+ - lib/net/ssh/config.rb
46
+ - lib/net/ssh/connection/channel.rb
47
+ - lib/net/ssh/connection/constants.rb
48
+ - lib/net/ssh/connection/session.rb
49
+ - lib/net/ssh/connection/term.rb
50
+ - lib/net/ssh/errors.rb
51
+ - lib/net/ssh/key_factory.rb
52
+ - lib/net/ssh/known_hosts.rb
53
+ - lib/net/ssh/loggable.rb
54
+ - lib/net/ssh/packet.rb
55
+ - lib/net/ssh/prompt.rb
56
+ - lib/net/ssh/proxy/errors.rb
57
+ - lib/net/ssh/proxy/http.rb
58
+ - lib/net/ssh/proxy/socks4.rb
59
+ - lib/net/ssh/proxy/socks5.rb
60
+ - lib/net/ssh/ruby_compat.rb
61
+ - lib/net/ssh/service/forward.rb
62
+ - lib/net/ssh/test.rb
63
+ - lib/net/ssh/test/channel.rb
64
+ - lib/net/ssh/test/extensions.rb
65
+ - lib/net/ssh/test/kex.rb
66
+ - lib/net/ssh/test/local_packet.rb
67
+ - lib/net/ssh/test/packet.rb
68
+ - lib/net/ssh/test/remote_packet.rb
69
+ - lib/net/ssh/test/script.rb
70
+ - lib/net/ssh/test/socket.rb
71
+ - lib/net/ssh/transport/algorithms.rb
72
+ - lib/net/ssh/transport/cipher_factory.rb
73
+ - lib/net/ssh/transport/constants.rb
74
+ - lib/net/ssh/transport/hmac.rb
75
+ - lib/net/ssh/transport/hmac/abstract.rb
76
+ - lib/net/ssh/transport/hmac/md5.rb
77
+ - lib/net/ssh/transport/hmac/md5_96.rb
78
+ - lib/net/ssh/transport/hmac/none.rb
79
+ - lib/net/ssh/transport/hmac/sha1.rb
80
+ - lib/net/ssh/transport/hmac/sha1_96.rb
81
+ - lib/net/ssh/transport/identity_cipher.rb
82
+ - lib/net/ssh/transport/kex.rb
83
+ - lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb
84
+ - lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb
85
+ - lib/net/ssh/transport/openssl.rb
86
+ - lib/net/ssh/transport/packet_stream.rb
87
+ - lib/net/ssh/transport/server_version.rb
88
+ - lib/net/ssh/transport/session.rb
89
+ - lib/net/ssh/transport/state.rb
90
+ - lib/net/ssh/verifiers/lenient.rb
91
+ - lib/net/ssh/verifiers/null.rb
92
+ - lib/net/ssh/verifiers/strict.rb
93
+ - lib/net/ssh/version.rb
94
+ - net-ssh.gemspec
95
+ - setup.rb
96
+ - test/authentication/methods/common.rb
97
+ - test/authentication/methods/test_abstract.rb
98
+ - test/authentication/methods/test_hostbased.rb
99
+ - test/authentication/methods/test_keyboard_interactive.rb
100
+ - test/authentication/methods/test_password.rb
101
+ - test/authentication/methods/test_publickey.rb
102
+ - test/authentication/test_agent.rb
103
+ - test/authentication/test_key_manager.rb
104
+ - test/authentication/test_session.rb
105
+ - test/common.rb
106
+ - test/configs/eqsign
107
+ - test/configs/exact_match
108
+ - test/configs/wild_cards
109
+ - test/connection/test_channel.rb
110
+ - test/connection/test_session.rb
111
+ - test/test_all.rb
112
+ - test/test_buffer.rb
113
+ - test/test_buffered_io.rb
114
+ - test/test_config.rb
115
+ - test/test_key_factory.rb
116
+ - test/transport/hmac/test_md5.rb
117
+ - test/transport/hmac/test_md5_96.rb
118
+ - test/transport/hmac/test_none.rb
119
+ - test/transport/hmac/test_sha1.rb
120
+ - test/transport/hmac/test_sha1_96.rb
121
+ - test/transport/kex/test_diffie_hellman_group1_sha1.rb
122
+ - test/transport/kex/test_diffie_hellman_group_exchange_sha1.rb
123
+ - test/transport/test_algorithms.rb
124
+ - test/transport/test_cipher_factory.rb
125
+ - test/transport/test_hmac.rb
126
+ - test/transport/test_identity_cipher.rb
127
+ - test/transport/test_packet_stream.rb
128
+ - test/transport/test_server_version.rb
129
+ - test/transport/test_session.rb
130
+ - test/transport/test_state.rb
131
+ has_rdoc: true
132
+ homepage: http://github.com/net-ssh/net-ssh
133
+ post_install_message:
134
+ rdoc_options:
135
+ - --line-numbers
136
+ - --title
137
+ - "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol."
138
+ - --main
139
+ - README.rdoc
140
+ require_paths:
141
+ - lib
142
+ required_ruby_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: "0"
147
+ version:
148
+ required_rubygems_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: "0"
153
+ version:
154
+ requirements: []
155
+
156
+ rubyforge_project: net-ssh
157
+ rubygems_version: 1.2.0
158
+ signing_key:
159
+ specification_version: 2
160
+ summary: "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol."
161
+ test_files: []
162
+