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

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