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

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