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

index 6bfaaf53a8ad7c2ca95f5c741ccd85963e57128c..f0ef4bd920c4d7df77eec666820247c9fc09148b 100644 (file)
@@ -1,7 +1,7 @@
 const fs = require('fs');
 const { Client } = require('ssh2');
 const sshConfig = {
-  host: 'host.docker.internal',
+  host: '10.8.0.1',
   port: 22,
   username: 'git',
   privateKey: fs.readFileSync('/home/git/.ssh/git-ui'),