From 76c6d0256613aff49b619b5a5e34053808c32157 Mon Sep 17 00:00:00 2001 From: UndefinedPony Date: Mon, 6 Jan 2025 12:09:15 +0100 Subject: [PATCH] feat: add ssh key comment for auto generated key --- apps/dokploy/server/wss/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/server/wss/utils.ts b/apps/dokploy/server/wss/utils.ts index b593595b..e98e5016 100644 --- a/apps/dokploy/server/wss/utils.ts +++ b/apps/dokploy/server/wss/utils.ts @@ -29,7 +29,7 @@ export const setupLocalServerSSHKey = async () => { if (!fs.existsSync(sshKeyPath)) { // Generate new SSH key if it hasn't been created yet - await execAsync(`ssh-keygen -t rsa -b 4096 -f ${sshKeyPath} -N ""`); + await execAsync(`ssh-keygen -t rsa -b 4096 -f ${sshKeyPath} -N "" -C "dokploy-local-access"`); } const privateKey = fs.readFileSync(sshKeyPath, "utf8");