]> PHS Git Server - phs-api.git/commitdiff
Fixing ssh connection.
authorcharleswrayjr <charleswrayjr@gmail.com>
Fri, 5 Sep 2025 02:43:17 +0000 (21:43 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Fri, 5 Sep 2025 02:43:17 +0000 (21:43 -0500)
src/controllers/git.controller.js

index c1e8f9cc8f168f8b8e7823fdb2ae3b39b3559418..a04237bd967b8502a871eb227cac6866da8a4919 100644 (file)
@@ -4,7 +4,7 @@ const sshConfig = {
   host: '192.168.1.62',
   port: 22,
   username: 'git',
-  privateKey: fs.readFileSync('/root/.ssh/git-ui:ro'),
+  privateKey: fs.readFileSync('/home/node/.ssh/git-ui:ro'),
 };
 
 module.exports = {