def ssh_uri
      unless @uri.host
        raise(InvalidConfig,"URI does not have a host: #{@uri}",caller)
      end

      new_uri = @uri.host
      new_uri = "#{@uri.user}@#{new_uri}" if @uri.user

      return new_uri
    end
def ssh_uri
      unless @uri.host
        raise(InvalidConfig,"URI does not have a host: #{@uri}",caller)
      end

      new_uri = @uri.host
      new_uri = "#{@uri.user}@#{new_uri}" if @uri.user

      return new_uri
    end
Converts the URI to one compatible with SSH.

 @return [String]
   The SSH compatible URI.

 @raise [InvalidConfig]
   The URI of the shell does not have a host component.