code: function parseSshGitUrl(gitUrl){
  		try {
  			/* try ssh:// protocol */
  			var url = new URL(gitUrl);
  			return {
  				host : url.hostname,
  				port : url.port
  			};
  					
  		} catch(e){
  			/* try scp-like uri */
  			try {
  				/* [user@]host.xz:path/to/repo.git/ */
  				var scp = gitUrl.split(":"); //$NON-NLS-0$
  				var hostPart = scp[0].split("@"); //$NON-NLS-0$
  				var host = hostPart.length > 1 ? hostPart[1] : hostPart[0];
  				return {
  					host : host,
  					port : 22
  				};
  				
  			} catch(ex){
  				/* admit failure */
  				return {
  					host : "",
  					port : ""
  				};
  			}
  		}
  	}
docs: /* parses ssh gitUrl to get hostname and port