net-telnet
net-telnet copied to clipboard
Connect with no username/password
Is it possible to connect to a telnet server that has no username/password ? I couldn't find a way to do so - I've tried blank/blank, nil/nil or .login with no arguments but obviously it failed.
Sure :)
Net::Telnet::new("Host" => "localhost") { |telnet| p telnet.cmd "hostname" }