mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
docs: ensure we have an example for adding keys as another user
Closes #2680 [ci skip]
This commit is contained in:
committed by
GitHub
parent
dd7439095a
commit
edda1e6567
@@ -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
|
||||
```
|
||||
|
||||
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`):
|
||||
|
||||
```shell
|
||||
|
||||
Reference in New Issue
Block a user