From bfa30011d2430d8ed100d3b80b7d8b224bea120a Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Thu, 4 Sep 2025 04:48:35 -0500 Subject: [PATCH] Fixing ssh connection. --- src/controllers/git.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/git.controller.js b/src/controllers/git.controller.js index f0ef4bd..3e532c8 100644 --- a/src/controllers/git.controller.js +++ b/src/controllers/git.controller.js @@ -1,10 +1,10 @@ const fs = require('fs'); const { Client } = require('ssh2'); const sshConfig = { - host: '10.8.0.1', + host: 'host.docker.internal', port: 22, username: 'git', - privateKey: fs.readFileSync('/home/git/.ssh/git-ui'), + privateKey: fs.readFileSync('/root/.ssh/git-ui'), }; module.exports = { -- 2.43.0