net-ssh 1.0.5 → 1.0.6

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.
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.0.5</strong><br />
18
- Manual Last Updated: <strong>2006-01-02 16:57 UTC</strong>
17
+ Net::SSH Version: <strong>1.0.6</strong><br />
18
+ Manual Last Updated: <strong>2006-01-20 06:08 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.0.5</strong><br />
18
- Manual Last Updated: <strong>2006-01-02 16:57 UTC</strong>
17
+ Net::SSH Version: <strong>1.0.6</strong><br />
18
+ Manual Last Updated: <strong>2006-01-20 06:08 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.0.5</strong><br />
18
- Manual Last Updated: <strong>2006-01-02 16:57 UTC</strong>
17
+ Net::SSH Version: <strong>1.0.6</strong><br />
18
+ Manual Last Updated: <strong>2006-01-20 06:08 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.0.5</strong><br />
18
- Manual Last Updated: <strong>2006-01-02 16:57 UTC</strong>
17
+ Net::SSH Version: <strong>1.0.6</strong><br />
18
+ Manual Last Updated: <strong>2006-01-20 06:08 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.0.5</strong><br />
18
- Manual Last Updated: <strong>2006-01-02 16:57 UTC</strong>
17
+ Net::SSH Version: <strong>1.0.6</strong><br />
18
+ Manual Last Updated: <strong>2006-01-20 06:08 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.0.5</strong><br />
18
- Manual Last Updated: <strong>2006-01-02 16:57 UTC</strong>
17
+ Net::SSH Version: <strong>1.0.6</strong><br />
18
+ Manual Last Updated: <strong>2006-01-20 06:08 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.0.5</strong><br />
18
- Manual Last Updated: <strong>2006-01-02 16:57 UTC</strong>
17
+ Net::SSH Version: <strong>1.0.6</strong><br />
18
+ Manual Last Updated: <strong>2006-01-20 06:08 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -14,8 +14,8 @@
14
14
  </div>
15
15
  </td><td valign='middle' align='right'>
16
16
  <div class="info">
17
- Net::SSH Version: <strong>1.0.5</strong><br />
18
- Manual Last Updated: <strong>2006-01-02 16:57 UTC</strong>
17
+ Net::SSH Version: <strong>1.0.6</strong><br />
18
+ Manual Last Updated: <strong>2006-01-20 06:08 UTC</strong>
19
19
  </div>
20
20
  </td></tr>
21
21
  </table>
@@ -180,14 +180,14 @@ module Net
180
180
  # Send the NEWKEYS message, and expect the NEWKEYS message in
181
181
  # reply.
182
182
  def confirm_newkeys( session ) #:nodoc:
183
- # expect the server's NEWKEYS message
184
- type, buffer = session.wait_for_message
185
- raise Net::SSH::Exception, "expected NEWKEYS" unless type == NEWKEYS
186
-
187
- # reply with our own NEWKEYS message
183
+ # send own NEWKEYS message first (the wodSSHServer won't send first)
188
184
  response = @buffers.writer
189
185
  response.write_byte NEWKEYS
190
186
  session.send_message response
187
+
188
+ # wait for the server's NEWKEYS message
189
+ type, buffer = session.wait_for_message
190
+ raise Net::SSH::Exception, "expected NEWKEYS" unless type == NEWKEYS
191
191
  end
192
192
 
193
193
  # Perform the key-exchange for the given session, with the given
@@ -45,7 +45,7 @@ module Net
45
45
  @log = log
46
46
  @buffers = buffers
47
47
  @methods = methods
48
- @on_banner = proc { |msg,lang| puts msg }
48
+ @on_banner = proc { |msg,lang| }
49
49
  @order = order.dup
50
50
  @allowed_auth_methods = nil
51
51
  end
@@ -20,7 +20,7 @@ module Net
20
20
 
21
21
  MAJOR = 1
22
22
  MINOR = 0
23
- TINY = 5
23
+ TINY = 6
24
24
 
25
25
  STRING = [ MAJOR, MINOR, TINY ].join( "." )
26
26
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: net-ssh
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.5
7
- date: 2006-01-02 00:00:00 -07:00
6
+ version: 1.0.6
7
+ date: 2006-01-19 00:00:00 -07:00
8
8
  summary: Net::SSH is a pure-Ruby implementation of the SSH2 client protocol.
9
9
  require_paths:
10
10
  - lib