1.9.3-p125 :001 > require 'rubygems'; require 'net/sftp' => true 1.9.3-p125 :002 > ssh = Net::SSH.start('172.16.17.37', 'root', :password => 'toto1234', :verbose => :debug) D, [2012-03-05T10:31:49.588944 #58001] DEBUG -- net.ssh.transport.session[80537214]: establishing connection to 172.16.17.37:22 D, [2012-03-05T10:31:49.594360 #58001] DEBUG -- net.ssh.transport.session[80537214]: connection established I, [2012-03-05T10:31:49.594561 #58001] INFO -- net.ssh.transport.server_version[8053a798]: negotiating protocol version D, [2012-03-05T10:31:49.613729 #58001] DEBUG -- net.ssh.transport.server_version[8053a798]: remote is `SSH-2.0-OpenSSH_5.5p1 Debian-6+squeeze1' D, [2012-03-05T10:31:49.613827 #58001] DEBUG -- net.ssh.transport.server_version[8053a798]: local is `SSH-2.0-Ruby/Net::SSH_2.3.0 x86_64-darwin10.8.0' D, [2012-03-05T10:31:49.621763 #58001] DEBUG -- tcpsocket[8053adc4]: read 784 bytes D, [2012-03-05T10:31:49.621919 #58001] DEBUG -- tcpsocket[8053adc4]: received packet nr 0 type 20 len 780 I, [2012-03-05T10:31:49.622031 #58001] INFO -- net.ssh.transport.algorithms[8053962c]: got KEXINIT from server I, [2012-03-05T10:31:49.622161 #58001] INFO -- net.ssh.transport.algorithms[8053962c]: sending KEXINIT D, [2012-03-05T10:31:49.622336 #58001] DEBUG -- tcpsocket[8053adc4]: queueing packet nr 0 type 20 len 716 D, [2012-03-05T10:31:49.622412 #58001] DEBUG -- tcpsocket[8053adc4]: sent 720 bytes I, [2012-03-05T10:31:49.622452 #58001] INFO -- net.ssh.transport.algorithms[8053962c]: negotiating algorithms D, [2012-03-05T10:31:49.622716 #58001] DEBUG -- net.ssh.transport.algorithms[8053962c]: negotiated: * kex: diffie-hellman-group-exchange-sha1 * host_key: ssh-rsa * encryption_server: aes128-cbc * encryption_client: aes128-cbc * hmac_client: hmac-sha1 * hmac_server: hmac-sha1 * compression_client: zlib@openssh.com * compression_server: zlib@openssh.com * language_client: * language_server: D, [2012-03-05T10:31:49.622757 #58001] DEBUG -- net.ssh.transport.algorithms[8053962c]: exchanging keys D, [2012-03-05T10:31:49.622996 #58001] DEBUG -- tcpsocket[8053adc4]: queueing packet nr 1 type 34 len 20 D, [2012-03-05T10:31:49.623045 #58001] DEBUG -- tcpsocket[8053adc4]: sent 24 bytes D, [2012-03-05T10:31:49.672012 #58001] DEBUG -- tcpsocket[8053adc4]: read 152 bytes D, [2012-03-05T10:31:49.672207 #58001] DEBUG -- tcpsocket[8053adc4]: received packet nr 1 type 31 len 148 D, [2012-03-05T10:31:49.677613 #58001] DEBUG -- tcpsocket[8053adc4]: queueing packet nr 2 type 32 len 140 D, [2012-03-05T10:31:49.677755 #58001] DEBUG -- tcpsocket[8053adc4]: sent 144 bytes D, [2012-03-05T10:31:49.695762 #58001] DEBUG -- tcpsocket[8053adc4]: read 720 bytes D, [2012-03-05T10:31:49.695976 #58001] DEBUG -- tcpsocket[8053adc4]: received packet nr 2 type 33 len 700 D, [2012-03-05T10:31:49.704789 #58001] DEBUG -- tcpsocket[8053adc4]: queueing packet nr 3 type 21 len 20 D, [2012-03-05T10:31:49.704888 #58001] DEBUG -- tcpsocket[8053adc4]: sent 24 bytes D, [2012-03-05T10:31:49.704984 #58001] DEBUG -- tcpsocket[8053adc4]: received packet nr 3 type 21 len 12 D, [2012-03-05T10:31:49.705396 #58001] DEBUG -- net.ssh.authentication.session[8050ae08]: beginning authentication of `root' D, [2012-03-05T10:31:49.705548 #58001] DEBUG -- tcpsocket[8053adc4]: queueing packet nr 4 type 5 len 28 D, [2012-03-05T10:31:49.705598 #58001] DEBUG -- tcpsocket[8053adc4]: sent 52 bytes D, [2012-03-05T10:31:49.753742 #58001] DEBUG -- tcpsocket[8053adc4]: read 52 bytes D, [2012-03-05T10:31:49.753979 #58001] DEBUG -- tcpsocket[8053adc4]: received packet nr 4 type 6 len 28 D, [2012-03-05T10:31:49.754220 #58001] DEBUG -- net.ssh.authentication.session[8050ae08]: trying publickey D, [2012-03-05T10:31:49.769481 #58001] DEBUG -- net.ssh.authentication.agent[805089b4]: connecting to ssh-agent D, [2012-03-05T10:31:49.769699 #58001] DEBUG -- net.ssh.authentication.agent[805089b4]: sending agent request 1 len 51 D, [2012-03-05T10:31:49.769839 #58001] DEBUG -- net.ssh.authentication.agent[805089b4]: received agent packet 2 len 5 D, [2012-03-05T10:31:49.769905 #58001] DEBUG -- net.ssh.authentication.agent[805089b4]: sending agent request 11 len 0 D, [2012-03-05T10:31:49.770097 #58001] DEBUG -- net.ssh.authentication.agent[805089b4]: received agent packet 12 len 469 D, [2012-03-05T10:31:49.770605 #58001] DEBUG -- net.ssh.authentication.methods.publickey[80508edc]: trying publickey (d9:52:08:1e:f8:bd:18:5d:7a:c3:20:e5:7a:76:f1:4b) D, [2012-03-05T10:31:49.770881 #58001] DEBUG -- tcpsocket[8053adc4]: queueing packet nr 5 type 50 len 508 D, [2012-03-05T10:31:49.770982 #58001] DEBUG -- tcpsocket[8053adc4]: sent 532 bytes D, [2012-03-05T10:31:49.778203 #58001] DEBUG -- tcpsocket[8053adc4]: read 484 bytes D, [2012-03-05T10:31:49.778454 #58001] DEBUG -- tcpsocket[8053adc4]: received packet nr 5 type 60 len 460 D, [2012-03-05T10:31:49.778783 #58001] DEBUG -- net.ssh.authentication.agent[805089b4]: sending agent request 13 len 960 D, [2012-03-05T10:31:49.780555 #58001] DEBUG -- net.ssh.authentication.agent[805089b4]: received agent packet 14 len 60 D, [2012-03-05T10:31:49.780816 #58001] DEBUG -- tcpsocket[8053adc4]: queueing packet nr 6 type 50 len 556 D, [2012-03-05T10:31:49.780921 #58001] DEBUG -- tcpsocket[8053adc4]: sent 580 bytes D, [2012-03-05T10:31:49.787497 #58001] DEBUG -- tcpsocket[8053adc4]: read 36 bytes D, [2012-03-05T10:31:49.787753 #58001] DEBUG -- tcpsocket[8053adc4]: received packet nr 6 type 52 len 12 D, [2012-03-05T10:31:49.787860 #58001] DEBUG -- net.ssh.authentication.methods.publickey[80508edc]: publickey succeeded (d9:52:08:1e:f8:bd:18:5d:7a:c3:20:e5:7a:76:f1:4b) => #, @formatter=nil, @logdev=#>, @mutex=#>>>, @transport=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @host="172.16.17.37", @port=22, @bind_address=nil, @options={:compression=>["zlib@openssh.com", "zlib"], :user=>"root", :password=>"toto1234", :verbose=>:debug, :logger=>#, @formatter=nil, @logdev=#>, @mutex=#>>>}, @facility="net.ssh.transport.session[80537214]", @socket=#, @queue=[], @host_key_verifier=#, @server_version=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @facility="net.ssh.transport.server_version[8053a798]">, @host_as_string="172.16.17.37", @algorithms=#, @logger=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @options={:compression=>["zlib@openssh.com", "zlib"], :user=>"root", :password=>"toto1234", :verbose=>:debug, :logger=>#, @formatter=nil, @logdev=#>, @mutex=#>>>}, @algorithms={:host_key=>["ssh-rsa", "ssh-dss"], :kex=>["diffie-hellman-group-exchange-sha1", "diffie-hellman-group1-sha1", "diffie-hellman-group-exchange-sha256"], :encryption=>["aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "rijndael-cbc@lysator.liu.se", "idea-cbc", "none", "arcfour128", "arcfour256"], :hmac=>["hmac-sha1", "hmac-md5", "hmac-sha1-96", "hmac-md5-96", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha2-256-96", "hmac-sha2-512-96", "none"], :compression=>["zlib@openssh.com", "zlib", "none"], :language=>[], :encryption_server=>["aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "rijndael-cbc@lysator.liu.se", "idea-cbc", "none", "arcfour128", "arcfour256"], :encryption_client=>["aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "rijndael-cbc@lysator.liu.se", "idea-cbc", "none", "arcfour128", "arcfour256"], :hmac_server=>["hmac-sha1", "hmac-md5", "hmac-sha1-96", "hmac-md5-96", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha2-256-96", "hmac-sha2-512-96", "none"], :hmac_client=>["hmac-sha1", "hmac-md5", "hmac-sha1-96", "hmac-md5-96", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha2-256-96", "hmac-sha2-512-96", "none"], :compression_server=>["zlib@openssh.com", "zlib", "none"], :compression_client=>["zlib@openssh.com", "zlib", "none"], :language_server=>[], :language_client=>[]}, @initialized=true, @pending=false, @server_packet="\x14\xDE\xBB\a$w\xD9\xF5.\xF9\xF3\xC7\xE6\x83[>g\x00\x00\x00~diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\x00\x00\x00\x0Fssh-rsa,ssh-dss\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", @client_packet="\x14\xDA\xEE\xD9\xDD\xA0\x1C_\xAE\xF9G\x95\x86)uR\x8A\x00\x00\x00bdiffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha256\x00\x00\x00\x0Fssh-rsa,ssh-dss\x00\x00\x00\x82aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,idea-cbc,none,arcfour128,arcfour256\x00\x00\x00\x82aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,idea-cbc,none,arcfour128,arcfour256\x00\x00\x00nhmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-sha2-256,hmac-sha2-512,hmac-sha2-256-96,hmac-sha2-512-96,none\x00\x00\x00nhmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-sha2-256,hmac-sha2-512,hmac-sha2-256-96,hmac-sha2-512-96,none\x00\x00\x00\x1Azlib@openssh.com,zlib,none\x00\x00\x00\x1Azlib@openssh.com,zlib,none\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", @facility="net.ssh.transport.algorithms[8053962c]", @server_data={:raw=>"\x14\xDE\xBB\a$w\xD9\xF5.\xF9\xF3\xC7\xE6\x83[>g\x00\x00\x00~diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\x00\x00\x00\x0Fssh-rsa,ssh-dss\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", :kex=>["diffie-hellman-group-exchange-sha256", "diffie-hellman-group-exchange-sha1", "diffie-hellman-group14-sha1", "diffie-hellman-group1-sha1"], :host_key=>["ssh-rsa", "ssh-dss"], :encryption_client=>["aes128-ctr", "aes192-ctr", "aes256-ctr", "arcfour256", "arcfour128", "aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "arcfour", "rijndael-cbc@lysator.liu.se"], :encryption_server=>["aes128-ctr", "aes192-ctr", "aes256-ctr", "arcfour256", "arcfour128", "aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "arcfour", "rijndael-cbc@lysator.liu.se"], :hmac_client=>["hmac-md5", "hmac-sha1", "umac-64@openssh.com", "hmac-ripemd160", "hmac-ripemd160@openssh.com", "hmac-sha1-96", "hmac-md5-96"], :hmac_server=>["hmac-md5", "hmac-sha1", "umac-64@openssh.com", "hmac-ripemd160", "hmac-ripemd160@openssh.com", "hmac-sha1-96", "hmac-md5-96"], :compression_client=>["none", "zlib@openssh.com"], :compression_server=>["none", "zlib@openssh.com"], :language_client=>[], :language_server=>[]}, @kex="diffie-hellman-group-exchange-sha1", @host_key="ssh-rsa", @encryption_client="aes128-cbc", @encryption_server="aes128-cbc", @hmac_client="hmac-sha1", @hmac_server="hmac-sha1", @compression_client="zlib@openssh.com", @compression_server="zlib@openssh.com", @language_client="", @language_server="", @session_id="\x80\xE0i\x04\xA6P\xD5\xD4\xF6\r\x1F+\xB5\x93\x91[\xFF\xAC\xC5\xA6">>, @options={:compression=>["zlib@openssh.com", "zlib"], :user=>"root", :password=>"toto1234", :verbose=>:debug, :logger=>#, @formatter=nil, @logdev=#>, @mutex=#>>>}, @channel_id_counter=-1, @channels={}, @listeners={#=>nil}, @pending_requests=[], @channel_open_handlers={}, @on_global_request={}, @properties={}> 1.9.3-p125 :003 > sftp = ssh.sftp.connect D, [2012-03-05T10:32:09.679665 #58001] DEBUG -- tcpsocket[8053adc4]: queueing packet nr 7 type 120 len 44 D, [2012-03-05T10:32:09.679978 #58001] DEBUG -- tcpsocket[8053adc4]: sent 68 bytes D, [2012-03-05T10:32:09.684948 #58001] DEBUG -- tcpsocket[8053adc4]: read 52 bytes D, [2012-03-05T10:32:09.685179 #58001] DEBUG -- tcpsocket[8053adc4]: received packet nr 7 type 91 len 28 I, [2012-03-05T10:32:09.685362 #58001] INFO -- net.ssh.connection.session[805027bc]: channel_open_confirmation: 0 0 0 32768 D, [2012-03-05T10:32:09.685464 #58001] DEBUG -- net.sftp.session[804feaf4]: requesting sftp subsystem I, [2012-03-05T10:32:09.685571 #58001] INFO -- net.ssh.connection.channel[804fea40]: sending channel request "subsystem" D, [2012-03-05T10:32:09.685785 #58001] DEBUG -- tcpsocket[8053adc4]: queueing packet nr 8 type 74 len 44 D, [2012-03-05T10:32:09.685933 #58001] DEBUG -- tcpsocket[8053adc4]: sent 68 bytes D, [2012-03-05T10:32:09.704760 #58001] DEBUG -- tcpsocket[8053adc4]: read 88 bytes D, [2012-03-05T10:32:09.705096 #58001] DEBUG -- tcpsocket[8053adc4]: received packet nr 8 type 93 len 28 I, [2012-03-05T10:32:09.705211 #58001] INFO -- net.ssh.connection.session[805027bc]: channel_window_adjust: 0 +2097152 D, [2012-03-05T10:32:09.705366 #58001] DEBUG -- tcpsocket[8053adc4]: received packet nr 9 type 99 len 12 I, [2012-03-05T10:32:09.705450 #58001] INFO -- net.ssh.connection.session[805027bc]: channel_success: 0 D, [2012-03-05T10:32:09.705515 #58001] DEBUG -- net.sftp.session[804feaf4]: sftp subsystem successfully started D, [2012-03-05T10:32:09.705797 #58001] DEBUG -- tcpsocket[8053adc4]: queueing packet nr 9 type 138 len 28 D, [2012-03-05T10:32:09.705948 #58001] DEBUG -- tcpsocket[8053adc4]: sent 52 bytes D, [2012-03-05T10:32:09.737610 #58001] DEBUG -- tcpsocket[8053adc4]: read 100 bytes D, [2012-03-05T10:32:09.737902 #58001] DEBUG -- tcpsocket[8053adc4]: received packet nr 10 type 94 len 76 I, [2012-03-05T10:32:09.738019 #58001] INFO -- net.ssh.connection.session[805027bc]: channel_data: 0 99b D, [2012-03-05T10:32:09.738163 #58001] DEBUG -- net.sftp.session[804feaf4]: received sftp packet 2 len 95 D, [2012-03-05T10:32:09.738224 #58001] DEBUG -- net.sftp.session[804feaf4]: negotiating sftp protocol version, mine is 6 D, [2012-03-05T10:32:09.738278 #58001] DEBUG -- net.sftp.session[804feaf4]: server reports sftp version 3 I, [2012-03-05T10:32:09.738343 #58001] INFO -- net.sftp.session[804feaf4]: negotiated version is 3 => #, @formatter=nil, @logdev=#>, @mutex=#>>>, @transport=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @host="172.16.17.37", @port=22, @bind_address=nil, @options={:compression=>["zlib@openssh.com", "zlib"], :user=>"root", :password=>"toto1234", :verbose=>:debug, :logger=>#, @formatter=nil, @logdev=#>, @mutex=#>>>}, @facility="net.ssh.transport.session[80537214]", @socket=#, @queue=[], @host_key_verifier=#, @server_version=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @facility="net.ssh.transport.server_version[8053a798]">, @host_as_string="172.16.17.37", @algorithms=#, @logger=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @options={:compression=>["zlib@openssh.com", "zlib"], :user=>"root", :password=>"toto1234", :verbose=>:debug, :logger=>#, @formatter=nil, @logdev=#>, @mutex=#>>>}, @algorithms={:host_key=>["ssh-rsa", "ssh-dss"], :kex=>["diffie-hellman-group-exchange-sha1", "diffie-hellman-group1-sha1", "diffie-hellman-group-exchange-sha256"], :encryption=>["aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "rijndael-cbc@lysator.liu.se", "idea-cbc", "none", "arcfour128", "arcfour256"], :hmac=>["hmac-sha1", "hmac-md5", "hmac-sha1-96", "hmac-md5-96", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha2-256-96", "hmac-sha2-512-96", "none"], :compression=>["zlib@openssh.com", "zlib", "none"], :language=>[], :encryption_server=>["aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "rijndael-cbc@lysator.liu.se", "idea-cbc", "none", "arcfour128", "arcfour256"], :encryption_client=>["aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "rijndael-cbc@lysator.liu.se", "idea-cbc", "none", "arcfour128", "arcfour256"], :hmac_server=>["hmac-sha1", "hmac-md5", "hmac-sha1-96", "hmac-md5-96", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha2-256-96", "hmac-sha2-512-96", "none"], :hmac_client=>["hmac-sha1", "hmac-md5", "hmac-sha1-96", "hmac-md5-96", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha2-256-96", "hmac-sha2-512-96", "none"], :compression_server=>["zlib@openssh.com", "zlib", "none"], :compression_client=>["zlib@openssh.com", "zlib", "none"], :language_server=>[], :language_client=>[]}, @initialized=true, @pending=false, @server_packet="\x14\xDE\xBB\a$w\xD9\xF5.\xF9\xF3\xC7\xE6\x83[>g\x00\x00\x00~diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\x00\x00\x00\x0Fssh-rsa,ssh-dss\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", @client_packet="\x14\xDA\xEE\xD9\xDD\xA0\x1C_\xAE\xF9G\x95\x86)uR\x8A\x00\x00\x00bdiffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha256\x00\x00\x00\x0Fssh-rsa,ssh-dss\x00\x00\x00\x82aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,idea-cbc,none,arcfour128,arcfour256\x00\x00\x00\x82aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,idea-cbc,none,arcfour128,arcfour256\x00\x00\x00nhmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-sha2-256,hmac-sha2-512,hmac-sha2-256-96,hmac-sha2-512-96,none\x00\x00\x00nhmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-sha2-256,hmac-sha2-512,hmac-sha2-256-96,hmac-sha2-512-96,none\x00\x00\x00\x1Azlib@openssh.com,zlib,none\x00\x00\x00\x1Azlib@openssh.com,zlib,none\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", @facility="net.ssh.transport.algorithms[8053962c]", @server_data={:raw=>"\x14\xDE\xBB\a$w\xD9\xF5.\xF9\xF3\xC7\xE6\x83[>g\x00\x00\x00~diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\x00\x00\x00\x0Fssh-rsa,ssh-dss\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", :kex=>["diffie-hellman-group-exchange-sha256", "diffie-hellman-group-exchange-sha1", "diffie-hellman-group14-sha1", "diffie-hellman-group1-sha1"], :host_key=>["ssh-rsa", "ssh-dss"], :encryption_client=>["aes128-ctr", "aes192-ctr", "aes256-ctr", "arcfour256", "arcfour128", "aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "arcfour", "rijndael-cbc@lysator.liu.se"], :encryption_server=>["aes128-ctr", "aes192-ctr", "aes256-ctr", "arcfour256", "arcfour128", "aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "arcfour", "rijndael-cbc@lysator.liu.se"], :hmac_client=>["hmac-md5", "hmac-sha1", "umac-64@openssh.com", "hmac-ripemd160", "hmac-ripemd160@openssh.com", "hmac-sha1-96", "hmac-md5-96"], :hmac_server=>["hmac-md5", "hmac-sha1", "umac-64@openssh.com", "hmac-ripemd160", "hmac-ripemd160@openssh.com", "hmac-sha1-96", "hmac-md5-96"], :compression_client=>["none", "zlib@openssh.com"], :compression_server=>["none", "zlib@openssh.com"], :language_client=>[], :language_server=>[]}, @kex="diffie-hellman-group-exchange-sha1", @host_key="ssh-rsa", @encryption_client="aes128-cbc", @encryption_server="aes128-cbc", @hmac_client="hmac-sha1", @hmac_server="hmac-sha1", @compression_client="zlib@openssh.com", @compression_server="zlib@openssh.com", @language_client="", @language_server="", @session_id="\x80\xE0i\x04\xA6P\xD5\xD4\xF6\r\x1F+\xB5\x93\x91[\xFF\xAC\xC5\xA6">>, @options={:compression=>["zlib@openssh.com", "zlib"], :user=>"root", :password=>"toto1234", :verbose=>:debug, :logger=>#, @formatter=nil, @logdev=#>, @mutex=#>>>}, @channel_id_counter=0, @channels={0=>#, @formatter=nil, @logdev=#>, @mutex=#>>>, @connection=#, @type="session", @local_id=0, @local_maximum_packet_size=65536, @local_maximum_window_size=131072, @local_window_size=130973, @on_confirm_open=#, @output=, @properties={}, @pending_requests=[], @on_eof=nil, @on_close=#, @on_process=#, @on_extended_data=#, @on_data=#, @on_open_failed=nil, @on_request={}, @sent_eof=false, @eof=false, @closing=false, @remote_id=0, @remote_maximum_window_size=2097152, @remote_window_size=2097143, @remote_maximum_packet_size=32768, @facility="net.ssh.connection.channel[804fea40]">}, @listeners={#=>nil}, @pending_requests=[], @channel_open_handlers={}, @on_global_request={}, @properties={}, @facility="net.ssh.connection.session[805027bc]", @sftp=#>, @input=, @logger=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @state=:open, @channel=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @connection=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @transport=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @host="172.16.17.37", @port=22, @bind_address=nil, @options={:compression=>["zlib@openssh.com", "zlib"], :user=>"root", :password=>"toto1234", :verbose=>:debug, :logger=>#, @formatter=nil, @logdev=#>, @mutex=#>>>}, @facility="net.ssh.transport.session[80537214]", @socket=#, @queue=[], @host_key_verifier=#, @server_version=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @facility="net.ssh.transport.server_version[8053a798]">, @host_as_string="172.16.17.37", @algorithms=#, @logger=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @options={:compression=>["zlib@openssh.com", "zlib"], :user=>"root", :password=>"toto1234", :verbose=>:debug, :logger=>#, @formatter=nil, @logdev=#>, @mutex=#>>>}, @algorithms={:host_key=>["ssh-rsa", "ssh-dss"], :kex=>["diffie-hellman-group-exchange-sha1", "diffie-hellman-group1-sha1", "diffie-hellman-group-exchange-sha256"], :encryption=>["aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "rijndael-cbc@lysator.liu.se", "idea-cbc", "none", "arcfour128", "arcfour256"], :hmac=>["hmac-sha1", "hmac-md5", "hmac-sha1-96", "hmac-md5-96", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha2-256-96", "hmac-sha2-512-96", "none"], :compression=>["zlib@openssh.com", "zlib", "none"], :language=>[], :encryption_server=>["aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "rijndael-cbc@lysator.liu.se", "idea-cbc", "none", "arcfour128", "arcfour256"], :encryption_client=>["aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "rijndael-cbc@lysator.liu.se", "idea-cbc", "none", "arcfour128", "arcfour256"], :hmac_server=>["hmac-sha1", "hmac-md5", "hmac-sha1-96", "hmac-md5-96", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha2-256-96", "hmac-sha2-512-96", "none"], :hmac_client=>["hmac-sha1", "hmac-md5", "hmac-sha1-96", "hmac-md5-96", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha2-256-96", "hmac-sha2-512-96", "none"], :compression_server=>["zlib@openssh.com", "zlib", "none"], :compression_client=>["zlib@openssh.com", "zlib", "none"], :language_server=>[], :language_client=>[]}, @initialized=true, @pending=false, @server_packet="\x14\xDE\xBB\a$w\xD9\xF5.\xF9\xF3\xC7\xE6\x83[>g\x00\x00\x00~diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\x00\x00\x00\x0Fssh-rsa,ssh-dss\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", @client_packet="\x14\xDA\xEE\xD9\xDD\xA0\x1C_\xAE\xF9G\x95\x86)uR\x8A\x00\x00\x00bdiffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha256\x00\x00\x00\x0Fssh-rsa,ssh-dss\x00\x00\x00\x82aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,idea-cbc,none,arcfour128,arcfour256\x00\x00\x00\x82aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,idea-cbc,none,arcfour128,arcfour256\x00\x00\x00nhmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-sha2-256,hmac-sha2-512,hmac-sha2-256-96,hmac-sha2-512-96,none\x00\x00\x00nhmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-sha2-256,hmac-sha2-512,hmac-sha2-256-96,hmac-sha2-512-96,none\x00\x00\x00\x1Azlib@openssh.com,zlib,none\x00\x00\x00\x1Azlib@openssh.com,zlib,none\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", @facility="net.ssh.transport.algorithms[8053962c]", @server_data={:raw=>"\x14\xDE\xBB\a$w\xD9\xF5.\xF9\xF3\xC7\xE6\x83[>g\x00\x00\x00~diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\x00\x00\x00\x0Fssh-rsa,ssh-dss\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00\x9Daes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00ihmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x15none,zlib@openssh.com\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", :kex=>["diffie-hellman-group-exchange-sha256", "diffie-hellman-group-exchange-sha1", "diffie-hellman-group14-sha1", "diffie-hellman-group1-sha1"], :host_key=>["ssh-rsa", "ssh-dss"], :encryption_client=>["aes128-ctr", "aes192-ctr", "aes256-ctr", "arcfour256", "arcfour128", "aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "arcfour", "rijndael-cbc@lysator.liu.se"], :encryption_server=>["aes128-ctr", "aes192-ctr", "aes256-ctr", "arcfour256", "arcfour128", "aes128-cbc", "3des-cbc", "blowfish-cbc", "cast128-cbc", "aes192-cbc", "aes256-cbc", "arcfour", "rijndael-cbc@lysator.liu.se"], :hmac_client=>["hmac-md5", "hmac-sha1", "umac-64@openssh.com", "hmac-ripemd160", "hmac-ripemd160@openssh.com", "hmac-sha1-96", "hmac-md5-96"], :hmac_server=>["hmac-md5", "hmac-sha1", "umac-64@openssh.com", "hmac-ripemd160", "hmac-ripemd160@openssh.com", "hmac-sha1-96", "hmac-md5-96"], :compression_client=>["none", "zlib@openssh.com"], :compression_server=>["none", "zlib@openssh.com"], :language_client=>[], :language_server=>[]}, @kex="diffie-hellman-group-exchange-sha1", @host_key="ssh-rsa", @encryption_client="aes128-cbc", @encryption_server="aes128-cbc", @hmac_client="hmac-sha1", @hmac_server="hmac-sha1", @compression_client="zlib@openssh.com", @compression_server="zlib@openssh.com", @language_client="", @language_server="", @session_id="\x80\xE0i\x04\xA6P\xD5\xD4\xF6\r\x1F+\xB5\x93\x91[\xFF\xAC\xC5\xA6">>, @options={:compression=>["zlib@openssh.com", "zlib"], :user=>"root", :password=>"toto1234", :verbose=>:debug, :logger=>#, @formatter=nil, @logdev=#>, @mutex=#>>>}, @channel_id_counter=0, @channels={0=>#}, @listeners={#=>nil}, @pending_requests=[], @channel_open_handlers={}, @on_global_request={}, @properties={}, @facility="net.ssh.connection.session[805027bc]", @sftp=#>, @type="session", @local_id=0, @local_maximum_packet_size=65536, @local_maximum_window_size=131072, @local_window_size=130973, @on_confirm_open=#, @output=, @properties={}, @pending_requests=[], @on_eof=nil, @on_close=#, @on_process=#, @on_extended_data=#, @on_data=#, @on_open_failed=nil, @on_request={}, @sent_eof=false, @eof=false, @closing=false, @remote_id=0, @remote_maximum_window_size=2097152, @remote_window_size=2097143, @remote_maximum_packet_size=32768, @facility="net.ssh.connection.channel[804fea40]">, @packet_length=nil, @protocol=#, @logger=#, @formatter=nil, @logdev=#>, @mutex=#>>>, @request_id_counter=-1>, @on_ready=nil, @facility="net.sftp.session[804feaf4]", @pending_requests={}>