Changeset View
Changeset View
Standalone View
Standalone View
scripts/ssh/ssh-exec.php
| Show All 13 Lines | |||||
| **ssh-exec** --phabricator-ssh-user __user__ [--ssh-command __commmand__] | **ssh-exec** --phabricator-ssh-user __user__ [--ssh-command __commmand__] | ||||
| **ssh-exec** --phabricator-ssh-device __device__ [--ssh-command __commmand__] | **ssh-exec** --phabricator-ssh-device __device__ [--ssh-command __commmand__] | ||||
| Execute authenticated SSH requests. This script is normally invoked | Execute authenticated SSH requests. This script is normally invoked | ||||
| via SSHD, but can be invoked manually for testing. | via SSHD, but can be invoked manually for testing. | ||||
| EOSYNOPSIS | EOSYNOPSIS | ||||
| ); | ); | ||||
| $args->parseStandardArguments(); | |||||
epriestley: This isn't precisely related, but was helpful in debugging this stuff. | |||||
| $args->parse( | $args->parse( | ||||
| array( | array( | ||||
| array( | array( | ||||
| 'name' => 'phabricator-ssh-user', | 'name' => 'phabricator-ssh-user', | ||||
| 'param' => 'username', | 'param' => 'username', | ||||
| 'help' => pht( | 'help' => pht( | ||||
| 'If the request authenticated with a user key, the name of the '. | 'If the request authenticated with a user key, the name of the '. | ||||
| 'user.'), | 'user.'), | ||||
| ▲ Show 20 Lines • Show All 260 Lines • Show Last 20 Lines | |||||
This isn't precisely related, but was helpful in debugging this stuff.