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
Unknown Object (File)
Mon, Dec 30, 6:45 PM
Unknown Object (File)
Sun, Dec 22, 2:32 PM
Unknown Object (File)
Sun, Dec 22, 2:32 PM
Unknown Object (File)
Tue, Dec 17, 2:50 AM
Unknown Object (File)
Sun, Dec 15, 3:40 PM
Unknown Object (File)
Dec 11 2024, 7:12 PM
Unknown Object (File)
Dec 7 2024, 6:26 PM
Unknown Object (File)
Dec 2 2024, 9:34 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