Update get_ssh_info.rb

Still lot of logic to change here.