remote_access: Only pass ssh port option if non-default

A host alias may have a different default port configured in
.ssh/config. If --ssh_port is not given, do not force the port to 22,
instead just don't pass the -p or -P option.

Change-Id: I5f6742c69eba3f5cb5130f6bcb8bbb0bb2a27391
Reviewed-on: https://chromium-review.googlesource.com/872461
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Kristian H. Kristensen <hoegsberg@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed