Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: adjust sandbox SSH host configuration (#20155)

buua436269fed973b07
diff --git a/docker/.env-go b/docker/.env-go
index 7ffa18e0f8..09268b524c 100644
--- a/docker/.env-go
+++ b/docker/.env-go
@@ -377,6 +377,9 @@ ENABLE_REGISTER=1
# SANDBOX_MAX_MEMORY=256m # b, k, m, g
# SANDBOX_TIMEOUT=10s # s, m, 1m30s
+# SSH deployment defaults
+# RAGFLOW_SSH_KNOWN_HOSTS=${HOME}/.ssh/known_hosts
+# SSH_KNOWN_HOSTS=/etc/ragflow/ssh_known_hosts
# -----------------------------------------------------------------------------
# Sandbox End
# -----------------------------------------------------------------------------
@@ -423,8 +426,6 @@ DISABLE_PASSWORD_LOGIN=false
# -----------------------------------------------------------------------------
# Native Go MCP listener settings
# -----------------------------------------------------------------------------
-RAGFLOW_SSH_KNOWN_HOSTS=${HOME}/.ssh/known_hosts
-SSH_KNOWN_HOSTS=/etc/ragflow/ssh_known_hosts
# RAGFLOW_MCP_ENABLED=true
# RAGFLOW_MCP_HOST=0.0.0.0
diff --git a/docker/docker-compose-go.yml b/docker/docker-compose-go.yml
index 88cb4622ca..dd19dace6e 100644
--- a/docker/docker-compose-go.yml
+++ b/docker/docker-compose-go.yml
@@ -64,7 +64,7 @@ services:
# - ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./service_conf.yaml.template:/ragflow/conf/service_conf.yaml.template
- ./entrypoint-go.sh:/ragflow/entrypoint.sh
- - ${RAGFLOW_SSH_KNOWN_HOSTS:-${HOME}/.ssh/known_hosts}:${SSH_KNOWN_HOSTS:-/etc/ragflow/ssh_known_hosts}:ro
+ # - ${RAGFLOW_SSH_KNOWN_HOSTS:-${HOME}/.ssh/known_hosts}:${SSH_KNOWN_HOSTS:-/etc/ragflow/ssh_known_hosts}:ro
env_file: .env-go
# Route the Go services' cache/queue backend to the separate Kvrocks service.
# The Python services use the Valkey `redis` service, which the Go deployment