net-ssh 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/doc/manual-html/chapter-1.html +388 -0
  2. data/doc/manual-html/chapter-2.html +544 -0
  3. data/doc/manual-html/chapter-3.html +470 -0
  4. data/doc/manual-html/chapter-4.html +413 -0
  5. data/doc/manual-html/chapter-5.html +525 -0
  6. data/doc/manual-html/chapter-6.html +456 -0
  7. data/doc/manual-html/chapter-7.html +343 -0
  8. data/doc/manual-html/index.html +237 -0
  9. data/doc/manual-html/stylesheets/manual.css +270 -0
  10. data/doc/manual-html/stylesheets/ruby.css +17 -0
  11. data/doc/manual/manual.rb +2 -2
  12. data/doc/manual/manual.yml +41 -44
  13. data/doc/manual/parts/{intro_what_is.txt → 0000.txt} +0 -0
  14. data/doc/manual/parts/{intro_what_is_not.txt → 0001.txt} +0 -0
  15. data/doc/manual/parts/{intro_getting.txt → 0002.txt} +7 -6
  16. data/doc/manual/parts/{intro_license.txt → 0003.txt} +0 -0
  17. data/doc/manual/parts/{intro_support.txt → 0004.txt} +0 -0
  18. data/doc/manual/parts/{intro_author.txt → 0005.txt} +1 -1
  19. data/doc/manual/parts/{session_start.txt → 0006.txt} +11 -11
  20. data/doc/manual/parts/{session_key.txt → 0007.txt} +6 -6
  21. data/doc/manual/parts/{session_options.txt → 0008.txt} +2 -3
  22. data/doc/manual/parts/0009.txt +14 -0
  23. data/doc/manual/parts/{channels_what_are.txt → 0010.txt} +0 -0
  24. data/doc/manual/parts/{channels_loop.txt → 0011.txt} +2 -2
  25. data/doc/manual/parts/{channels_types.txt → 0012.txt} +0 -0
  26. data/doc/manual/parts/{channels_open.txt → 0013.txt} +2 -2
  27. data/doc/manual/parts/{channels_callbacks.txt → 0014.txt} +3 -3
  28. data/doc/manual/parts/{channels_operations.txt → 0015.txt} +1 -2
  29. data/doc/manual/parts/{exec_channels.txt → 0016.txt} +2 -2
  30. data/doc/manual/parts/{exec_open.txt → 0017.txt} +3 -3
  31. data/doc/manual/parts/{exec_popen3.txt → 0018.txt} +5 -5
  32. data/doc/manual/parts/{shells_intro.txt → 0019.txt} +0 -0
  33. data/doc/manual/parts/{shells_channels.txt → 0020.txt} +5 -5
  34. data/doc/manual/parts/{shells_shell.txt → 0021.txt} +6 -6
  35. data/doc/manual/parts/{shells_sync.txt → 0022.txt} +4 -4
  36. data/doc/manual/parts/{shells_clients.txt → 0023.txt} +3 -3
  37. data/doc/manual/parts/{forward_intro.txt → 0024.txt} +2 -2
  38. data/doc/manual/parts/{forward_local.txt → 0025.txt} +4 -4
  39. data/doc/manual/parts/{forward_remote.txt → 0026.txt} +6 -5
  40. data/doc/manual/parts/{forward_direct.txt → 0027.txt} +2 -2
  41. data/doc/manual/parts/{forward_handlers.txt → 0028.txt} +0 -0
  42. data/doc/manual/parts/{proxy_intro.txt → 0029.txt} +0 -0
  43. data/doc/manual/parts/{proxy_http.txt → 0030.txt} +6 -6
  44. data/doc/manual/parts/{proxy_socks.txt → 0031.txt} +4 -2
  45. data/doc/manual/stylesheets/manual.css +7 -2
  46. data/lib/net/ssh/connection/driver.rb +6 -0
  47. data/lib/net/ssh/transport/session.rb +6 -2
  48. data/lib/net/ssh/userauth/services.rb +1 -1
  49. data/lib/net/ssh/version.rb +1 -1
  50. data/test/transport/tc_session.rb +13 -0
  51. metadata +161 -149
  52. data/doc/manual/parts/session_session.txt +0 -14
@@ -1,14 +0,0 @@
1
- Alternatively, you can use Net::SSH::Session to start your SSH sessions. The @Net::SSH.start@ interface described above is simply a convenience for creating a new Session object explicitly.
2
-
3
- [!figure lang=ruby,number=true,caption=Using Net::SSH::Session
4
- require 'net/ssh'
5
-
6
- Net::SSH::Session.new(
7
- 'host', 'username', 'password',
8
- :compression => "zlib"
9
- ) do |session|
10
- ...
11
- end
12
- !]
13
-
14
- Note that Net::SSH::Session#new accepts the same parameters as Net::SSH.start, and may also be called without a block.