diff options
Diffstat (limited to 'Net/SSH/Transport/Session.html')
-rw-r--r-- | Net/SSH/Transport/Session.html | 569 |
1 files changed, 117 insertions, 452 deletions
diff --git a/Net/SSH/Transport/Session.html b/Net/SSH/Transport/Session.html index 3e5965e..0e8004f 100644 --- a/Net/SSH/Transport/Session.html +++ b/Net/SSH/Transport/Session.html @@ -2,73 +2,68 @@ <html> <head> -<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> +<meta charset="UTF-8"> -<title>class Net::SSH::Transport::Session - net-ssh 4.0.0.rc1</title> - -<link type="text/css" media="screen" href="../../../rdoc.css" rel="stylesheet"> +<title>class Net::SSH::Transport::Session - net-ssh 4.0.0.rc2</title> <script type="text/javascript"> var rdoc_rel_prefix = "../../../"; </script> -<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script> -<script type="text/javascript" charset="utf-8" src="../../../js/navigation.js"></script> -<script type="text/javascript" charset="utf-8" src="../../../js/search_index.js"></script> -<script type="text/javascript" charset="utf-8" src="../../../js/search.js"></script> -<script type="text/javascript" charset="utf-8" src="../../../js/searcher.js"></script> -<script type="text/javascript" charset="utf-8" src="../../../js/darkfish.js"></script> +<script src="../../../js/jquery.js"></script> +<script src="../../../js/darkfish.js"></script> + +<link href="../../../css/fonts.css" rel="stylesheet"> +<link href="../../../css/rdoc.css" rel="stylesheet"> + + +<body id="top" role="document" class="class"> +<nav role="navigation"> + <div id="project-navigation"> + <div id="home-section" role="region" title="Quick navigation" class="nav-section"> + <h2> + <a href="../../../index.html" rel="home">Home</a> + </h2> -<body id="top" class="class"> -<nav id="metadata"> - <nav id="home-section" class="section"> - <h3 class="section-header"> - <a href="../../../index.html">Home</a> + <div id="table-of-contents-navigation"> + <a href="../../../table_of_contents.html#pages">Pages</a> <a href="../../../table_of_contents.html#classes">Classes</a> <a href="../../../table_of_contents.html#methods">Methods</a> - </h3> -</nav> - + </div> +</div> - <nav id="search-section" class="section project-section" class="initially-hidden"> + <div id="search-section" role="search" class="project-section initially-hidden"> <form action="#" method="get" accept-charset="utf-8"> - <h3 class="section-header"> - <input type="text" name="search" placeholder="Search" id="search-field" + <div id="search-field-wrapper"> + <input id="search-field" role="combobox" aria-label="Search" + aria-autocomplete="list" aria-controls="search-results" + type="text" name="search" placeholder="Search" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"> - </h3> - </form> + </div> - <ul id="search-results" class="initially-hidden"></ul> -</nav> + <ul id="search-results" aria-label="Search Results" + aria-busy="false" aria-expanded="false" + aria-atomic="false" class="initially-hidden"></ul> + </form> +</div> + </div> - <div id="file-metadata"> - <nav id="file-list-section" class="section"> - <h3 class="section-header">Defined In</h3> - <ul> - <li>lib/net/ssh/transport/session.rb - <li>lib/net/ssh/verifiers/lenient.rb - </ul> -</nav> - - - </div> - <div id="class-metadata"> - <nav id="parent-class-section" class="section"> - <h3 class="section-header">Parent</h3> + <div id="parent-class-section" class="nav-section"> + <h3>Parent</h3> + <p class="link">Object -</nav> +</div> - <!-- Included Modules --> -<nav id="includes-section" class="section"> - <h3 class="section-header">Included Modules</h3> + <div id="includes-section" class="nav-section"> + <h3>Included Modules</h3> <ul class="link-list"> @@ -81,11 +76,10 @@ </ul> -</nav> +</div> - <!-- Extension Modules --> -<nav id="extends-section" class="section"> - <h3 class="section-header">Extended With Modules</h3> + <div id="extends-section" class="nav-section"> + <h3>Extended With Modules</h3> <ul class="link-list"> @@ -94,13 +88,13 @@ </ul> -</nav> +</div> <!-- Method Quickref --> -<nav id="method-list-section" class="section"> - <h3 class="section-header">Methods</h3> +<div id="method-list-section" class="nav-section"> + <h3>Methods</h3> - <ul class="link-list"> + <ul class="link-list" role="directory"> <li ><a href="#method-c-new">::new</a> @@ -141,350 +135,17 @@ <li ><a href="#method-i-wait">#wait</a> </ul> -</nav> +</div> </div> - - <div id="project-metadata"> - <nav id="fileindex-section" class="section project-section"> - <h3 class="section-header">Pages</h3> - - <ul> - - <li class="file"><a href="../../../CHANGES_txt.html">CHANGES</a> - - <li class="file"><a href="../../../LICENSE_txt.html">LICENSE</a> - - <li class="file"><a href="../../../README_rdoc.html">README</a> - - <li class="file"><a href="../../../THANKS_txt.html">THANKS</a> - - </ul> </nav> - <nav id="classindex-section" class="section project-section"> - <h3 class="section-header">Class and Module Index</h3> +<main role="main" aria-labelledby="class-Net::SSH::Transport::Session"> + <h1 id="class-Net::SSH::Transport::Session" class="class"> + class Net::SSH::Transport::Session + </h1> - <ul class="link-list"> - - <li><a href="../../../DL.html">DL</a> - - <li><a href="../../../DL/Fiddle.html">DL::Fiddle</a> - - <li><a href="../../../Net.html">Net</a> - - <li><a href="../../../Net/SSH.html">Net::SSH</a> - - <li><a href="../../../Net/SSH/Authentication.html">Net::SSH::Authentication</a> - - <li><a href="../../../Net/SSH/Authentication/Agent.html">Net::SSH::Authentication::Agent</a> - - <li><a href="../../../Net/SSH/Authentication/Agent/Comment.html">Net::SSH::Authentication::Agent::Comment</a> - - <li><a href="../../../Net/SSH/Authentication/AgentError.html">Net::SSH::Authentication::AgentError</a> - - <li><a href="../../../Net/SSH/Authentication/AgentNotAvailable.html">Net::SSH::Authentication::AgentNotAvailable</a> - - <li><a href="../../../Net/SSH/Authentication/Constants.html">Net::SSH::Authentication::Constants</a> - - <li><a href="../../../Net/SSH/Authentication/DisallowedMethod.html">Net::SSH::Authentication::DisallowedMethod</a> - - <li><a href="../../../Net/SSH/Authentication/ED25519.html">Net::SSH::Authentication::ED25519</a> - - <li><a href="../../../Net/SSH/Authentication/ED25519/PrivKey.html">Net::SSH::Authentication::ED25519::PrivKey</a> - - <li><a href="../../../Net/SSH/Authentication/ED25519/PubKey.html">Net::SSH::Authentication::ED25519::PubKey</a> - - <li><a href="../../../Net/SSH/Authentication/ED25519/SigningKeyFromFile.html">Net::SSH::Authentication::ED25519::SigningKeyFromFile</a> - - <li><a href="../../../Net/SSH/Authentication/ED25519Loader.html">Net::SSH::Authentication::ED25519Loader</a> - - <li><a href="../../../Net/SSH/Authentication/KeyManager.html">Net::SSH::Authentication::KeyManager</a> - - <li><a href="../../../Net/SSH/Authentication/KeyManagerError.html">Net::SSH::Authentication::KeyManagerError</a> - - <li><a href="../../../Net/SSH/Authentication/Methods.html">Net::SSH::Authentication::Methods</a> - - <li><a href="../../../Net/SSH/Authentication/Methods/Abstract.html">Net::SSH::Authentication::Methods::Abstract</a> - - <li><a href="../../../Net/SSH/Authentication/Methods/Hostbased.html">Net::SSH::Authentication::Methods::Hostbased</a> - - <li><a href="../../../Net/SSH/Authentication/Methods/KeyboardInteractive.html">Net::SSH::Authentication::Methods::KeyboardInteractive</a> - - <li><a href="../../../Net/SSH/Authentication/Methods/None.html">Net::SSH::Authentication::Methods::None</a> - - <li><a href="../../../Net/SSH/Authentication/Methods/Password.html">Net::SSH::Authentication::Methods::Password</a> - - <li><a href="../../../Net/SSH/Authentication/Methods/Publickey.html">Net::SSH::Authentication::Methods::Publickey</a> - - <li><a href="../../../Net/SSH/Authentication/Pageant.html">Net::SSH::Authentication::Pageant</a> - - <li><a href="../../../Net/SSH/Authentication/Pageant/Socket.html">Net::SSH::Authentication::Pageant::Socket</a> - - <li><a href="../../../Net/SSH/Authentication/Pageant/Win.html">Net::SSH::Authentication::Pageant::Win</a> - - <li><a href="../../../Net/SSH/Authentication/Pageant/Win/LibC.html">Net::SSH::Authentication::Pageant::Win::LibC</a> - - <li><a href="../../../Net/SSH/Authentication/Pageant/Win/LibC/FFI.html">Net::SSH::Authentication::Pageant::Win::LibC::FFI</a> - - <li><a href="../../../Net/SSH/Authentication/Pageant/Win/LibC/FFI/Library.html">Net::SSH::Authentication::Pageant::Win::LibC::FFI::Library</a> - - <li><a href="../../../Net/SSH/Authentication/Session.html">Net::SSH::Authentication::Session</a> - - <li><a href="../../../Net/SSH/AuthenticationFailed.html">Net::SSH::AuthenticationFailed</a> - - <li><a href="../../../Net/SSH/Buffer.html">Net::SSH::Buffer</a> - - <li><a href="../../../Net/SSH/BufferedIo.html">Net::SSH::BufferedIo</a> - - <li><a href="../../../Net/SSH/ChannelOpenFailed.html">Net::SSH::ChannelOpenFailed</a> - - <li><a href="../../../Net/SSH/ChannelRequestFailed.html">Net::SSH::ChannelRequestFailed</a> - - <li><a href="../../../Net/SSH/Compat.html">Net::SSH::Compat</a> - - <li><a href="../../../Net/SSH/Config.html">Net::SSH::Config</a> - - <li><a href="../../../Net/SSH/Connection.html">Net::SSH::Connection</a> - - <li><a href="../../../Net/SSH/Connection/Channel.html">Net::SSH::Connection::Channel</a> - - <li><a href="../../../Net/SSH/Connection/Constants.html">Net::SSH::Connection::Constants</a> - - <li><a href="../../../Net/SSH/Connection/EventLoop.html">Net::SSH::Connection::EventLoop</a> - - <li><a href="../../../Net/SSH/Connection/Keepalive.html">Net::SSH::Connection::Keepalive</a> - - <li><a href="../../../Net/SSH/Connection/Session.html">Net::SSH::Connection::Session</a> - - <li><a href="../../../Net/SSH/Connection/Session/NilChannel.html">Net::SSH::Connection::Session::NilChannel</a> - - <li><a href="../../../Net/SSH/Connection/Session/StringWithExitstatus.html">Net::SSH::Connection::Session::StringWithExitstatus</a> - - <li><a href="../../../Net/SSH/Connection/SingleSessionEventLoop.html">Net::SSH::Connection::SingleSessionEventLoop</a> - - <li><a href="../../../Net/SSH/Connection/Term.html">Net::SSH::Connection::Term</a> - - <li><a href="../../../Net/SSH/ConnectionTimeout.html">Net::SSH::ConnectionTimeout</a> - - <li><a href="../../../Net/SSH/Disconnect.html">Net::SSH::Disconnect</a> - - <li><a href="../../../Net/SSH/Exception.html">Net::SSH::Exception</a> - - <li><a href="../../../Net/SSH/ForwardedBufferedIo.html">Net::SSH::ForwardedBufferedIo</a> - - <li><a href="../../../Net/SSH/HostKeyError.html">Net::SSH::HostKeyError</a> - - <li><a href="../../../Net/SSH/HostKeyMismatch.html">Net::SSH::HostKeyMismatch</a> - - <li><a href="../../../Net/SSH/HostKeyUnknown.html">Net::SSH::HostKeyUnknown</a> - - <li><a href="../../../Net/SSH/HostKeys.html">Net::SSH::HostKeys</a> - - <li><a href="../../../Net/SSH/KeyFactory.html">Net::SSH::KeyFactory</a> - - <li><a href="../../../Net/SSH/KeyFactory/OpenSSL.html">Net::SSH::KeyFactory::OpenSSL</a> - - <li><a href="../../../Net/SSH/KeyFactory/OpenSSL/PKey.html">Net::SSH::KeyFactory::OpenSSL::PKey</a> - - <li><a href="../../../Net/SSH/KnownHosts.html">Net::SSH::KnownHosts</a> - - <li><a href="../../../Net/SSH/KnownHosts/OpenSSL.html">Net::SSH::KnownHosts::OpenSSL</a> - - <li><a href="../../../Net/SSH/KnownHosts/OpenSSL/PKey.html">Net::SSH::KnownHosts::OpenSSL::PKey</a> - - <li><a href="../../../Net/SSH/Loggable.html">Net::SSH::Loggable</a> - - <li><a href="../../../Net/SSH/Packet.html">Net::SSH::Packet</a> - - <li><a href="../../../Net/SSH/Prompt.html">Net::SSH::Prompt</a> - - <li><a href="../../../Net/SSH/Prompt/Prompter.html">Net::SSH::Prompt::Prompter</a> - - <li><a href="../../../Net/SSH/Proxy.html">Net::SSH::Proxy</a> - - <li><a href="../../../Net/SSH/Proxy/Command.html">Net::SSH::Proxy::Command</a> - - <li><a href="../../../Net/SSH/Proxy/ConnectError.html">Net::SSH::Proxy::ConnectError</a> - - <li><a href="../../../Net/SSH/Proxy/Error.html">Net::SSH::Proxy::Error</a> - - <li><a href="../../../Net/SSH/Proxy/HTTP.html">Net::SSH::Proxy::HTTP</a> - - <li><a href="../../../Net/SSH/Proxy/HTTPS.html">Net::SSH::Proxy::HTTPS</a> - - <li><a href="../../../Net/SSH/Proxy/HTTPS/SSLSocketCompatibility.html">Net::SSH::Proxy::HTTPS::SSLSocketCompatibility</a> - - <li><a href="../../../Net/SSH/Proxy/SOCKS4.html">Net::SSH::Proxy::SOCKS4</a> - - <li><a href="../../../Net/SSH/Proxy/SOCKS5.html">Net::SSH::Proxy::SOCKS5</a> - - <li><a href="../../../Net/SSH/Proxy/UnauthorizedError.html">Net::SSH::Proxy::UnauthorizedError</a> - - <li><a href="../../../Net/SSH/Service.html">Net::SSH::Service</a> - - <li><a href="../../../Net/SSH/Service/Forward.html">Net::SSH::Service::Forward</a> - - <li><a href="../../../Net/SSH/Test.html">Net::SSH::Test</a> - - <li><a href="../../../Net/SSH/Test/Channel.html">Net::SSH::Test::Channel</a> - - <li><a href="../../../Net/SSH/Test/Extensions.html">Net::SSH::Test::Extensions</a> - - <li><a href="../../../Net/SSH/Test/Extensions/BufferedIo.html">Net::SSH::Test::Extensions::BufferedIo</a> - - <li><a href="../../../Net/SSH/Test/Extensions/Channel.html">Net::SSH::Test::Extensions::Channel</a> - - <li><a href="../../../Net/SSH/Test/Extensions/IO.html">Net::SSH::Test::Extensions::IO</a> - - <li><a href="../../../Net/SSH/Test/Extensions/IO/ClassMethods.html">Net::SSH::Test::Extensions::IO::ClassMethods</a> - - <li><a href="../../../Net/SSH/Test/Extensions/PacketStream.html">Net::SSH::Test::Extensions::PacketStream</a> - - <li><a href="../../../Net/SSH/Test/Kex.html">Net::SSH::Test::Kex</a> - - <li><a href="../../../Net/SSH/Test/LocalPacket.html">Net::SSH::Test::LocalPacket</a> - - <li><a href="../../../Net/SSH/Test/Packet.html">Net::SSH::Test::Packet</a> - - <li><a href="../../../Net/SSH/Test/RemotePacket.html">Net::SSH::Test::RemotePacket</a> - - <li><a href="../../../Net/SSH/Test/Script.html">Net::SSH::Test::Script</a> - - <li><a href="../../../Net/SSH/Test/Socket.html">Net::SSH::Test::Socket</a> - - <li><a href="../../../Net/SSH/Timeout.html">Net::SSH::Timeout</a> - - <li><a href="../../../Net/SSH/Transport.html">Net::SSH::Transport</a> - - <li><a href="../../../Net/SSH/Transport/Algorithms.html">Net::SSH::Transport::Algorithms</a> - - <li><a href="../../../Net/SSH/Transport/Algorithms/OpenSSL.html">Net::SSH::Transport::Algorithms::OpenSSL</a> - - <li><a href="../../../Net/SSH/Transport/Algorithms/OpenSSL/PKey.html">Net::SSH::Transport::Algorithms::OpenSSL::PKey</a> - - <li><a href="../../../Net/SSH/Transport/CTR.html">Net::SSH::Transport::CTR</a> - - <li><a href="../../../Net/SSH/Transport/CipherFactory.html">Net::SSH::Transport::CipherFactory</a> - - <li><a href="../../../Net/SSH/Transport/Constants.html">Net::SSH::Transport::Constants</a> - - <li><a href="../../../Net/SSH/Transport/HMAC.html">Net::SSH::Transport::HMAC</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/Abstract.html">Net::SSH::Transport::HMAC::Abstract</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/MD5.html">Net::SSH::Transport::HMAC::MD5</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/MD5/OpenSSL.html">Net::SSH::Transport::HMAC::MD5::OpenSSL</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/MD5/OpenSSL/Digest.html">Net::SSH::Transport::HMAC::MD5::OpenSSL::Digest</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/MD5_96.html">Net::SSH::Transport::HMAC::MD5_96</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/None.html">Net::SSH::Transport::HMAC::None</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/RIPEMD160.html">Net::SSH::Transport::HMAC::RIPEMD160</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/RIPEMD160/OpenSSL.html">Net::SSH::Transport::HMAC::RIPEMD160::OpenSSL</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/RIPEMD160/OpenSSL/Digest.html">Net::SSH::Transport::HMAC::RIPEMD160::OpenSSL::Digest</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/SHA1.html">Net::SSH::Transport::HMAC::SHA1</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/SHA1/OpenSSL.html">Net::SSH::Transport::HMAC::SHA1::OpenSSL</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/SHA1/OpenSSL/Digest.html">Net::SSH::Transport::HMAC::SHA1::OpenSSL::Digest</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/SHA1_96.html">Net::SSH::Transport::HMAC::SHA1_96</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/SHA2_256.html">Net::SSH::Transport::HMAC::SHA2_256</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/SHA2_256_96.html">Net::SSH::Transport::HMAC::SHA2_256_96</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/SHA2_512.html">Net::SSH::Transport::HMAC::SHA2_512</a> - - <li><a href="../../../Net/SSH/Transport/HMAC/SHA2_512_96.html">Net::SSH::Transport::HMAC::SHA2_512_96</a> - - <li><a href="../../../Net/SSH/Transport/IdentityCipher.html">Net::SSH::Transport::IdentityCipher</a> - - <li><a href="../../../Net/SSH/Transport/Kex.html">Net::SSH::Transport::Kex</a> - - <li><a href="../../../Net/SSH/Transport/Kex/DiffieHellmanGroup14SHA1.html">Net::SSH::Transport::Kex::DiffieHellmanGroup14SHA1</a> - - <li><a href="../../../Net/SSH/Transport/Kex/DiffieHellmanGroup1SHA1.html">Net::SSH::Transport::Kex::DiffieHellmanGroup1SHA1</a> - - <li><a href="../../../Net/SSH/Transport/Kex/DiffieHellmanGroupExchangeSHA1.html">Net::SSH::Transport::Kex::DiffieHellmanGroupExchangeSHA1</a> - - <li><a href="../../../Net/SSH/Transport/Kex/DiffieHellmanGroupExchangeSHA256.html">Net::SSH::Transport::Kex::DiffieHellmanGroupExchangeSHA256</a> - - <li><a href="../../../Net/SSH/Transport/Kex/EcdhSHA2NistP256.html">Net::SSH::Transport::Kex::EcdhSHA2NistP256</a> - - <li><a href="../../../Net/SSH/Transport/Kex/EcdhSHA2NistP384.html">Net::SSH::Transport::Kex::EcdhSHA2NistP384</a> - - <li><a href="../../../Net/SSH/Transport/Kex/EcdhSHA2NistP521.html">Net::SSH::Transport::Kex::EcdhSHA2NistP521</a> - - <li><a href="../../../Net/SSH/Transport/KeyExpander.html">Net::SSH::Transport::KeyExpander</a> - - <li><a href="../../../Net/SSH/Transport/PacketStream.html">Net::SSH::Transport::PacketStream</a> - - <li><a href="../../../Net/SSH/Transport/ServerVersion.html">Net::SSH::Transport::ServerVersion</a> - - <li><a href="../../../Net/SSH/Transport/Session.html">Net::SSH::Transport::Session</a> - - <li><a href="../../../Net/SSH/Transport/State.html">Net::SSH::Transport::State</a> - - <li><a href="../../../Net/SSH/Verifiers.html">Net::SSH::Verifiers</a> - - <li><a href="../../../Net/SSH/Verifiers/Lenient.html">Net::SSH::Verifiers::Lenient</a> - - <li><a href="../../../Net/SSH/Verifiers/Null.html">Net::SSH::Verifiers::Null</a> - - <li><a href="../../../Net/SSH/Verifiers/Secure.html">Net::SSH::Verifiers::Secure</a> - - <li><a href="../../../Net/SSH/Verifiers/Strict.html">Net::SSH::Verifiers::Strict</a> - - <li><a href="../../../Net/SSH/Version.html">Net::SSH::Version</a> - - <li><a href="../../../OpenSSL.html">OpenSSL</a> - - <li><a href="../../../OpenSSL/BN.html">OpenSSL::BN</a> - - <li><a href="../../../OpenSSL/Digest.html">OpenSSL::Digest</a> - - <li><a href="../../../OpenSSL/PKey.html">OpenSSL::PKey</a> - - <li><a href="../../../OpenSSL/PKey/DH.html">OpenSSL::PKey::DH</a> - - <li><a href="../../../OpenSSL/PKey/DSA.html">OpenSSL::PKey::DSA</a> - - <li><a href="../../../OpenSSL/PKey/EC.html">OpenSSL::PKey::EC</a> - - <li><a href="../../../OpenSSL/PKey/OpenSSL.html">OpenSSL::PKey::OpenSSL</a> - - <li><a href="../../../OpenSSL/PKey/OpenSSL/PKey.html">OpenSSL::PKey::OpenSSL::PKey</a> - - <li><a href="../../../OpenSSL/PKey/OpenSSL/PKey/OpenSSL.html">OpenSSL::PKey::OpenSSL::PKey::OpenSSL</a> - - <li><a href="../../../OpenSSL/PKey/OpenSSL/PKey/OpenSSL/PKey.html">OpenSSL::PKey::OpenSSL::PKey::OpenSSL::PKey</a> - - <li><a href="../../../OpenSSL/PKey/OpenSSL/PKey/OpenSSL/PKey/ECError.html">OpenSSL::PKey::OpenSSL::PKey::OpenSSL::PKey::ECError</a> - - <li><a href="../../../OpenSSL/PKey/PKey.html">OpenSSL::PKey::PKey</a> - - <li><a href="../../../OpenSSL/PKey/RSA.html">OpenSSL::PKey::RSA</a> - - <li><a href="../../../String.html">String</a> - - </ul> -</nav> - - </div> -</nav> - -<div id="documentation"> - <h1 class="class">class Net::SSH::Transport::Session</h1> - - <div id="description" class="description"> + <section class="description"> <p>The transport layer represents the lowest level of the <a href="../../SSH.html">SSH</a> protocol, and implements basic message @@ -494,7 +155,7 @@ be created for you automatically when you create a new <a href="../../SSH.html">SSH</a> session via <a href="../../SSH.html#method-c-start">Net::SSH.start</a>.</p> - </div><!-- description --> + </section> @@ -505,14 +166,15 @@ href="../../SSH.html#method-c-start">Net::SSH.start</a>.</p> - <!-- Constants --> - <section id="constants-list" class="section"> - <h3 class="section-header">Constants</h3> + <section class="constants-list"> + <header> + <h3>Constants</h3> + </header> <dl> <dt id="DEFAULT_PORT">DEFAULT_PORT - <dd class="description"><p>The standard port for the <a href="../../SSH.html">SSH</a> protocol.</p> + <dd><p>The standard port for the <a href="../../SSH.html">SSH</a> protocol.</p> </dl> @@ -520,9 +182,10 @@ href="../../SSH.html#method-c-start">Net::SSH.start</a>.</p> - <!-- Attributes --> - <section id="attribute-method-details" class="method-section section"> - <h3 class="section-header">Attributes</h3> + <section class="attribute-method-details" class="method-section"> + <header> + <h3>Attributes</h3> + </header> <div id="attribute-i-algorithms" class="method-detail"> @@ -622,13 +285,14 @@ host.</p> </div> </div> - </section><!-- attribute-method-details --> + </section> - <!-- Methods --> - <section id="public-class-5Buntitled-5D-method-details" class="method-section section"> - <h3 class="section-header">Public Class Methods</h3> + <section id="public-class-5Buntitled-5D-method-details" class="method-section"> + <header> + <h3>Public Class Methods</h3> + </header> <div id="method-c-new" class="method-detail "> @@ -689,20 +353,22 @@ session.</p> <span class="ruby-keyword">rescue</span> <span class="ruby-constant">Errno</span><span class="ruby-operator">::</span><span class="ruby-constant">ETIMEDOUT</span> <span class="ruby-identifier">raise</span> <span class="ruby-constant">Net</span><span class="ruby-operator">::</span><span class="ruby-constant">SSH</span><span class="ruby-operator">::</span><span class="ruby-constant">ConnectionTimeout</span> <span class="ruby-keyword">end</span></pre> - </div><!-- new-source --> + </div> </div> - </div><!-- new-method --> + </div> - </section><!-- public-class-method-details --> + </section> - <section id="public-instance-5Buntitled-5D-method-details" class="method-section section"> - <h3 class="section-header">Public Instance Methods</h3> + <section id="public-instance-5Buntitled-5D-method-details" class="method-section"> + <header> + <h3>Public Instance Methods</h3> + </header> <div id="method-i-close" class="method-detail "> @@ -731,14 +397,14 @@ and closes the underlying socket.</p> <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">cleanup</span> <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">close</span> <span class="ruby-keyword">end</span></pre> - </div><!-- close-source --> + </div> </div> - </div><!-- close-method --> + </div> <div id="method-i-closed-3F" class="method-detail "> @@ -764,14 +430,14 @@ and closes the underlying socket.</p> <span class="ruby-keyword">def</span> <span class="ruby-identifier">closed?</span> <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">closed?</span> <span class="ruby-keyword">end</span></pre> - </div><!-- closed-3F-source --> + </div> </div> - </div><!-- closed-3F-method --> + </div> <div id="method-i-configure_client" class="method-detail "> @@ -799,14 +465,14 @@ algorithms to use when sending packets to the server.</p> <span class="ruby-keyword">def</span> <span class="ruby-identifier">configure_client</span>(<span class="ruby-identifier">options</span>={}) <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">client</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">options</span>) <span class="ruby-keyword">end</span></pre> - </div><!-- configure_client-source --> + </div> </div> - </div><!-- configure_client-method --> + </div> <div id="method-i-configure_server" class="method-detail "> @@ -834,14 +500,14 @@ algorithms to use when reading packets from the server.</p> <span class="ruby-keyword">def</span> <span class="ruby-identifier">configure_server</span>(<span class="ruby-identifier">options</span>={}) <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">server</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">options</span>) <span class="ruby-keyword">end</span></pre> - </div><!-- configure_server-source --> + </div> </div> - </div><!-- configure_server-method --> + </div> <div id="method-i-enqueue_message" class="method-detail "> @@ -868,14 +534,14 @@ opportunity. This does not block, but returns immediately.</p> <span class="ruby-keyword">def</span> <span class="ruby-identifier">enqueue_message</span>(<span class="ruby-identifier">message</span>) <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">enqueue_packet</span>(<span class="ruby-identifier">message</span>) <span class="ruby-keyword">end</span></pre> - </div><!-- enqueue_message-source --> + </div> </div> - </div><!-- enqueue_message-method --> + </div> <div id="method-i-hint" class="method-detail "> @@ -903,14 +569,14 @@ href="PacketStream.html#attribute-i-hints">Net::SSH::Transport::PacketStream#hin <span class="ruby-keyword">def</span> <span class="ruby-identifier">hint</span>(<span class="ruby-identifier">which</span>, <span class="ruby-identifier">value</span>=<span class="ruby-keyword">true</span>) <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">hints</span>[<span class="ruby-identifier">which</span>] = <span class="ruby-identifier">value</span> <span class="ruby-keyword">end</span></pre> - </div><!-- hint-source --> + </div> </div> - </div><!-- hint-method --> + </div> <div id="method-i-host_as_string" class="method-detail "> @@ -951,14 +617,14 @@ href="../../SSH.html">SSH</a> known-host files.</p> <span class="ruby-identifier">string</span> <span class="ruby-keyword">end</span> <span class="ruby-keyword">end</span></pre> - </div><!-- host_as_string-source --> + </div> </div> - </div><!-- host_as_string-method --> + </div> <div id="method-i-host_keys" class="method-detail "> @@ -987,14 +653,14 @@ href="../../SSH.html">SSH</a> known-host files.</p> <span class="ruby-identifier">known_hosts</span>.<span class="ruby-identifier">search_for</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:host_key_alias</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">host_as_string</span>, <span class="ruby-identifier">options</span>) <span class="ruby-keyword">end</span> <span class="ruby-keyword">end</span></pre> - </div><!-- host_keys-source --> + </div> </div> - </div><!-- host_keys-method --> + </div> <div id="method-i-next_message" class="method-detail "> @@ -1021,14 +687,14 @@ See <a href="Session.html#method-i-poll_message">poll_message</a>.</p> <span class="ruby-keyword">def</span> <span class="ruby-identifier">next_message</span> <span class="ruby-identifier">poll_message</span>(<span class="ruby-value">:block</span>) <span class="ruby-keyword">end</span></pre> - </div><!-- next_message-source --> + </div> </div> - </div><!-- next_message-method --> + </div> <div id="method-i-peer" class="method-detail "> @@ -1054,16 +720,16 @@ href="Session.html#method-i-host_as_string">host_as_string</a>).</p> <div class="method-source-code" id="peer-source"> <pre><span class="ruby-comment"># File lib/net/ssh/transport/session.rb, line 166</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier">peer</span> - <span class="ruby-ivar">@peer</span> <span class="ruby-operator">||=</span> { <span class="ruby-value">:ip</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">peer_ip</span>, <span class="ruby-value">:port</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@port</span>.<span class="ruby-identifier">to_i</span>, <span class="ruby-value">:host</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@host</span>, <span class="ruby-value">:canonized</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">host_as_string</span> } + <span class="ruby-ivar">@peer</span> <span class="ruby-operator">||=</span> { <span class="ruby-identifier">ip</span><span class="ruby-operator">:</span> <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">peer_ip</span>, <span class="ruby-identifier">port</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@port</span>.<span class="ruby-identifier">to_i</span>, <span class="ruby-identifier">host</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@host</span>, <span class="ruby-identifier">canonized</span><span class="ruby-operator">:</span> <span class="ruby-identifier">host_as_string</span> } <span class="ruby-keyword">end</span></pre> - </div><!-- peer-source --> + </div> </div> - </div><!-- peer-method --> + </div> <div id="method-i-poll_message" class="method-detail "> @@ -1126,14 +792,14 @@ queue before the socket is queried.</p> <span class="ruby-keyword">end</span> <span class="ruby-keyword">end</span> <span class="ruby-keyword">end</span></pre> - </div><!-- poll_message-source --> + </div> </div> - </div><!-- poll_message-method --> + </div> <div id="method-i-push" class="method-detail "> @@ -1161,14 +827,14 @@ packets from the queue in the order they were received.</p> <span class="ruby-keyword">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">packet</span>) <span class="ruby-ivar">@queue</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">packet</span>) <span class="ruby-keyword">end</span></pre> - </div><!-- push-source --> + </div> </div> - </div><!-- push-method --> + </div> <div id="method-i-rekey-21" class="method-detail "> @@ -1198,14 +864,14 @@ rekey is already pending, this returns immediately, having no effect.</p> <span class="ruby-identifier">wait</span> { <span class="ruby-identifier">algorithms</span>.<span class="ruby-identifier">initialized?</span> } <span class="ruby-keyword">end</span> <span class="ruby-keyword">end</span></pre> - </div><!-- rekey-21-source --> + </div> </div> - </div><!-- rekey-21-method --> + </div> <div id="method-i-rekey_as_needed" class="method-detail "> @@ -1235,14 +901,14 @@ one is performed, causing this method to block until it completes.</p> <span class="ruby-keyword">return</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">algorithms</span>.<span class="ruby-identifier">pending?</span> <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">if_needs_rekey?</span> { <span class="ruby-identifier">rekey!</span> } <span class="ruby-keyword">end</span></pre> - </div><!-- rekey_as_needed-source --> + </div> </div> - </div><!-- rekey_as_needed-method --> + </div> <div id="method-i-send_message" class="method-detail "> @@ -1269,14 +935,14 @@ message has been sent.</p> <span class="ruby-keyword">def</span> <span class="ruby-identifier">send_message</span>(<span class="ruby-identifier">message</span>) <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">send_packet</span>(<span class="ruby-identifier">message</span>) <span class="ruby-keyword">end</span></pre> - </div><!-- send_message-source --> + </div> </div> - </div><!-- send_message-method --> + </div> <div id="method-i-service_request" class="method-detail "> @@ -1304,14 +970,14 @@ for the given service name, ready for sending to the server.</p> <span class="ruby-keyword">def</span> <span class="ruby-identifier">service_request</span>(<span class="ruby-identifier">service</span>) <span class="ruby-constant">Net</span><span class="ruby-operator">::</span><span class="ruby-constant">SSH</span><span class="ruby-operator">::</span><span class="ruby-constant">Buffer</span>.<span class="ruby-identifier">from</span>(<span class="ruby-value">:byte</span>, <span class="ruby-constant">SERVICE_REQUEST</span>, <span class="ruby-value">:string</span>, <span class="ruby-identifier">service</span>) <span class="ruby-keyword">end</span></pre> - </div><!-- service_request-source --> + </div> </div> - </div><!-- service_request-method --> + </div> <div id="method-i-shutdown-21" class="method-detail "> @@ -1341,14 +1007,14 @@ underlying protocol's state).</p> <span class="ruby-identifier">error</span> { <span class="ruby-string">"forcing connection closed"</span> } <span class="ruby-identifier">socket</span>.<span class="ruby-identifier">close</span> <span class="ruby-keyword">end</span></pre> - </div><!-- shutdown-21-source --> + </div> </div> - </div><!-- shutdown-21-method --> + </div> <div id="method-i-wait" class="method-detail "> @@ -1382,26 +1048,25 @@ href="Session.html#method-i-push">push</a>).</p> <span class="ruby-keyword">break</span> <span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">block_given?</span> <span class="ruby-keyword">end</span> <span class="ruby-keyword">end</span></pre> - </div><!-- wait-source --> + </div> </div> - </div><!-- wait-method --> + </div> - </section><!-- public-instance-method-details --> + </section> - </section><!-- 5Buntitled-5D --> - -</div><!-- documentation --> + </section> +</main> -<footer id="validator-badges"> - <p><a href="http://validator.w3.org/check/referer">[Validate]</a> - <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0. - <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3. +<footer id="validator-badges" role="contentinfo"> + <p><a href="http://validator.w3.org/check/referer">Validate</a> + <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1. + <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>. </footer> |