HomePhabricator

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

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

Provenance
epriestleyAuthored on Dec 30 2013, 9:21 PM
epriestleyPushed on Dec 30 2013, 9:21 PM
Reviewer
dctrwatson
Differential Revision
D7854: Provide a more helpful message if a user connects via raw SSH
Parents
rP591df78361a7: Bind patches, file content and raw diffs bind policies to their originating…
Branches
Unknown
Tags
Unknown

Event Timeline