Sha256: 6642f77dca8a78050c96000a92943d099b303a1393b05930b55d7d0f325c4c1e
Contents?: true
Size: 502 Bytes
Versions: 15
Compression:
Stored size: 502 Bytes
Contents
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. {{{lang=ruby,number=true,caption=Using Net::SSH::Session require 'net/ssh' Net::SSH::Session.new( 'host', 'username', 'password', :compression => "zlib" ) do |session| ... end }}} Note that @Net::SSH::Session#new@ accepts the same parameters as Net::SSH.start, and may also be called without a block.
Version data entries
15 entries across 15 versions & 1 rubygems