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)
Sun, Apr 21, 4:16 PM
Unknown Object (File)
Sun, Apr 14, 8:48 AM
Unknown Object (File)
Fri, Mar 29, 4:52 PM
Unknown Object (File)
Feb 11 2024, 6:53 AM
Unknown Object (File)
Jan 31 2024, 2:13 AM
Unknown Object (File)
Jan 29 2024, 3:10 PM
Unknown Object (File)
Jan 19 2024, 5:45 PM
Unknown Object (File)
Dec 13 2023, 12:01 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