mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-28 01:05:25 +02:00
feat: add permission grant command when key generation fails
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user