]> PHS Git Server - phs-api.git/commitdiff
Fixing ssh connection.
authorcharleswrayjr <charleswrayjr@gmail.com>
Thu, 4 Sep 2025 09:54:19 +0000 (04:54 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Thu, 4 Sep 2025 09:54:19 +0000 (04:54 -0500)
src/controllers/git.controller.js

index 3e532c8999bbd9e65a0a69c24b3cac26375a7bda..6bfaaf53a8ad7c2ca95f5c741ccd85963e57128c 100644 (file)
@@ -4,7 +4,7 @@ const sshConfig = {
   host: 'host.docker.internal',
   port: 22,
   username: 'git',
-  privateKey: fs.readFileSync('/root/.ssh/git-ui'),
+  privateKey: fs.readFileSync('/home/git/.ssh/git-ui'),
 };
 
 module.exports = {