Homec4science

Handle "-p port" flag in ssh-connect

Authored by epriestley <git@epriestley.com> on Dec 2 2013, 20:25.

Description

Handle "-p port" flag in ssh-connect

Summary:
The documentation is explicit that Git does not pass this flag:

The $GIT_SSH command will be given exactly two arguments: the username@host (or just host) from the URL and the shell command to execute on that remote system.

This isn't true; it does. Accommodate it.

I'll see if I can fix this in the upstream, too.

Test Plan: Ran various ssh-connect commands with -p, etc.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D7680

Details

Committed
epriestley <git@epriestley.com>Dec 2 2013, 20:25
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe19ad8ab8a55: Warn users about using `bin/accountadmin` for first time setup
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHd59722321fe4: Handle "-p port" flag in ssh-connect (authored by epriestley <git@epriestley.com>).Dec 2 2013, 20:25