host_as_string (Net::SSH::Transport::Session)

        # File lib/net/ssh/transport/session.rb, line 83
    83:     def host_as_string
    84:       @host_as_string ||= begin
    85:         string = "#{host}"
    86:         string = "[#{string}]:#{port}" if port != DEFAULT_PORT
    87:         if socket.peer_ip != host
    88:           string2 = socket.peer_ip
    89:           string2 = "[#{string2}]:#{port}" if port != DEFAULT_PORT
    90:           string << "," << string2
    91:         end
    92:         string
    93:       end
    94:     end