feat: add permission grant command when key generation fails

This commit is contained in:
UndefinedPony
2025-01-06 12:09:54 +01:00
parent 76c6d02566
commit 41a970c526
2 changed files with 17 additions and 8 deletions

View File

@@ -15,13 +15,6 @@ export const getShell = () => {
};
/** Returns private SSH key for dokploy local server terminal. Uses already created SSH key or generates a new SSH key.
*
* In case of permission failures when running locally, run the command below:
```
sudo chown -R $USER:$USER /etc/dokploy/ssh
```
*/
export const setupLocalServerSSHKey = async () => {
const { SSH_PATH } = paths(true);