docs: clarify ssh-keys commands to run when adding ssh keys in docker-based installation

Closes #6730
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-03-28 23:41:10 -04:00
1 parent 092d6a2da4
commit a6cad2cca4
1 file changed
+7 -1
+7 -1
View File
@@ -91,12 +91,18 @@ RUN dokku plugin:install https://github.com/dokku/dokku-redis.git redis
## SSH Key Management ## SSH Key Management
To initialize ssh-keys within the container, use `docker exec` to enter the container and run the appropriate ssh-keys commands. To initialize ssh-keys within the container, use `docker exec` to enter the container:
```shell ```shell
docker exec -it dokku bash docker exec -it dokku bash
``` ```
Next, run the appropriate ssh-keys commands:
```shell
echo "$CONTENTS_OF_YOUR_PUBLIC_SSH_KEY_HERE" | dokku ssh-keys:add KEY_NAME
```
Please see the [user management documentation](/docs/deployment/user-management.md) for more information. Please see the [user management documentation](/docs/deployment/user-management.md) for more information.
## Pushing Applications ## Pushing Applications