docs: ensure we have an example for adding keys as another user
Closes #2680 [ci skip]
This commit is contained in:
1 parent
dd7439095a
commit
edda1e6567
1 file changed
+7
@@ -56,6 +56,13 @@ Admin users and root can also add keys remotely:
|
|||||||
cat ~/.ssh/id_rsa.pub | ssh dokku@dokku.me ssh-keys:add KEY_NAME
|
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:
|
||||||
|
|
||||||
|
```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`):
|
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`):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
Reference in new issue
Block a user