class Net::SSH::Test::Socket
def initialize
and seed it with the necessary events to power the initialization of the
Create a new test socket. This will also instantiate a new Net::SSH::Test::Script
def initialize extend(Net::SSH::Transport::PacketStream) super "SSH-2.0-Test\r\n" @script = Script.new script.sends(:kexinit) script.gets(:kexinit, 1, 2, 3, 4, "test", "ssh-rsa", "none", "none", "none", "none", "none", "none", "", "", false) script.sends(:newkeys) script.gets(:newkeys) end