Page MenuHomePhabricator

Provide a more helpful message if a user connects via raw SSH
ClosedPublic

Authored by epriestley on Dec 30 2013, 9:10 PM.
Tags
None
Referenced Files
F15420781: D7854.id17767.diff
Fri, Mar 21, 5:25 PM
F15420662: D7854.diff
Fri, Mar 21, 3:55 PM
F15402149: D7854.id.diff
Mon, Mar 17, 8:54 PM
F15387710: D7854.id17766.diff
Sat, Mar 15, 2:48 AM
F15385492: D7854.id17767.diff
Fri, Mar 14, 10:43 PM
F15344823: D7854.diff
Mon, Mar 10, 6:53 AM
Unknown Object (File)
Fri, Feb 28, 8:59 AM
Unknown Object (File)
Feb 24 2025, 11:21 AM
Subscribers

Details

Summary

We currently print a fairly vague, technical message which is ambiguous about indicating success or an error if you aren't familiar with SSH.

Test Plan
$ ssh -T dweller@localhost
phabricator-ssh-exec: Welcome to Phabricator.

You are logged in as epriestley.

You haven't specified a command to run. This means you're requesting an interactive shell, but Phabricator does not provide an interactive shell over SSH.

Usually, you should run a command like `git clone` or `hg push` rather than connecting directly with SSH.

Supported commands are: conduit, git-receive-pack, git-upload-pack, hg, svnserve.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped