1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00
phorge-phorge/scripts/ssh
epriestley 26582eb82d 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
2013-12-30 13:21:56 -08:00
..
ssh-auth-key.php Prepare to route VCS connections through SSH 2013-10-29 15:32:40 -07:00
ssh-auth.php Correctly handle case where no ssh keys are found 2013-11-30 18:56:23 -08:00
ssh-connect.php Handle "-p port" flag in ssh-connect 2013-12-02 11:25:46 -08:00
ssh-exec.php Provide a more helpful message if a user connects via raw SSH 2013-12-30 13:21:56 -08:00