From cb7b1f4ebd0d92e61de57bed6ed3c58822fc93b5 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 13 May 2018 14:53:24 -0400 Subject: [PATCH] docs: correct issue with adding a user remotely Closes #3188 [ci skip] --- docs/deployment/user-management.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/docs/deployment/user-management.md b/docs/deployment/user-management.md index bc0ae74b0..6bf8f0e5e 100644 --- a/docs/deployment/user-management.md +++ b/docs/deployment/user-management.md @@ -50,20 +50,13 @@ b7:76:27:4f:30:90:21:ae:d4:1e:70:20:35:3f:06:d6 > `KEY_NAME` is a unique name which is used to identify public keys. Attempting to re-use a key name will result in an error. The ssh (git) user is *always* `dokku`, as this is the system user that the `dokku` binary uses to perform all it's actions. -Admin users and root can also add keys remotely: - -```shell -cat ~/.ssh/id_rsa.pub | ssh dokku@dokku.me ssh-keys:add KEY_NAME -``` - -If you are using an ssh user other than `dokku`, then you'll also need to specify the `dokku` bin: +Admin users and root can add keys remotely by specifying the `dokku` bin on their `ssh` command: ```shell cat ~/.ssh/id_rsa.pub | ssh root@dokku.me dokku ssh-keys:add KEY_NAME ``` - -Finally, if you are using the vagrant installation, you can also use the `make vagrant-acl-add` target to add your public key to Dokku (it will use your host username as the `USER`): +If you are using the vagrant installation, you can also use the `make vagrant-acl-add` target to add your public key to Dokku (it will use your host username as the `USER`): ```shell cat ~/.ssh/id_rsa.pub | make vagrant-acl-add