Homec4science

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

Authored by epriestley <git@epriestley.com> on Dec 30 2013, 22:21.

Description

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

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.

Reviewers: btrahan, dctrwatson

Reviewed By: dctrwatson

CC: aran

Differential Revision: https://secure.phabricator.com/D7854

Details

Committed
epriestley <git@epriestley.com>Dec 30 2013, 22:21
Pushed
aubortJan 31 2017, 17:16
Parents
rPH591df78361a7: Bind patches, file content and raw diffs bind policies to their originating…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH26582eb82d2f: Provide a more helpful message if a user connects via raw SSH (authored by epriestley <git@epriestley.com>).Dec 30 2013, 22:21