Page MenuHomePhabricator

Serve Git reads over SSH
ClosedPublic

Authored by epriestley on Oct 26 2013, 7:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 10 2026, 12:12 AM
Unknown Object (File)
Mar 3 2026, 8:44 PM
Unknown Object (File)
Mar 2 2026, 11:40 AM
Unknown Object (File)
Feb 15 2026, 9:03 PM
Unknown Object (File)
Feb 10 2026, 3:29 PM
Unknown Object (File)
Feb 7 2026, 12:16 PM
Unknown Object (File)
Jan 9 2026, 8:20 PM
Unknown Object (File)
Jan 9 2026, 4:40 PM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
Restricted Maniphest Task
Commits
Restricted Diffusion Commit
rP9a2e45ef12ea: Serve Git reads over SSH
Summary

Like D7423, but for SSH.

Test Plan

Ran git clone ssh://..., got a clone.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan added inline comments.
src/infrastructure/ssh/PhabricatorSSHWorkflow.php
71

so this closes stdin?

src/infrastructure/ssh/PhabricatorSSHWorkflow.php
71

Yeah -- by default, write() closes the subprocess's stdin, unless the second parameter ("$keep_pipe") is set to true. At some point, it would probably be cleaner to replace this with $exec_channel->closeWriteChannel() or something, but that doesn't exist yet.