Homec4science

Route some VCS connections over SSH

Authored by epriestley <git@epriestley.com> on Oct 26 2013, 19:46.

Description

Route some VCS connections over SSH

Summary:

  • Add web UI for configuring SSH hosting.
  • Route git reads (git-upload-pack over SSH).

Test Plan:

>>> orbital ~ $ git clone ssh://127.0.0.1/
Cloning into '127.0.0.1'...
Exception: Unrecognized repository path "/". Expected a path like "/diffusion/X/".
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
>>> orbital ~ $ git clone ssh://127.0.0.1/diffusion/X/
Cloning into 'X'...
Exception: No repository "X" exists!
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
>>> orbital ~ $ git clone ssh://127.0.0.1/diffusion/MT/
Cloning into 'MT'...
Exception: This repository is not available over SSH.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
>>> orbital ~ $ git clone ssh://127.0.0.1/diffusion/P/
Cloning into 'P'...
Exception: TODO: Implement serve over SSH.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Reviewers: btrahan

Reviewed By: btrahan

CC: hach-que, aran

Maniphest Tasks: T2230

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

Details

Committed
epriestley <git@epriestley.com>Oct 29 2013, 23:32
Pushed
aubortJan 31 2017, 17:16
Parents
rPH888b3839e7e8: Prepare to route VCS connections through SSH
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHbb4904553f2c: Route some VCS connections over SSH (authored by epriestley <git@epriestley.com>).Oct 29 2013, 23:32