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
F15525496: D7854.diff
Mon, Apr 21, 2:50 PM
F15504158: D7854.id17767.diff
Mon, Apr 14, 4:20 PM
F15497693: D7854.id.diff
Sun, Apr 13, 10:59 AM
F15497651: D7854.id17766.diff
Sun, Apr 13, 10:55 AM
F15493067: D7854.diff
Sat, Apr 12, 9:17 PM
F15420781: D7854.id17767.diff
Mar 21 2025, 5:25 PM
F15420662: D7854.diff
Mar 21 2025, 3:55 PM
F15402149: D7854.id.diff
Mar 17 2025, 8:54 PM
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