Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
docs(vps): connection sharing is a default the alias can turn off
Sebastian B43b2baeb39fe
diff --git a/server/vps-ssh.ts b/server/vps-ssh.tsindex 4b9fc977e6..44e5859546 100644--- a/server/vps-ssh.ts+++ b/server/vps-ssh.ts@@ -1,4 +1,4 @@-// An ssh_config and an `ssh` shim that add connection sharing and fail-fast timeouts to every VPS command, whatever the user's alias sets; the live-desktop tunnel opts out of sharing.+// On POSIX, an ssh_config and an `ssh` shim give VPS docker commands connection sharing and fail-fast timeouts wherever the user's alias leaves them unset; the live-desktop tunnel opts out of sharing.import { createHash } from "node:crypto";import { chmodSync, existsSync, lstatSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";import { homedir } from "node:os";@@ -81,7 +81,7 @@ export function prepareVpsSsh(dataDir: string, pathValue: string, platform: Nodeconst shim = ["#!/bin/sh","# Written by OpenMausBot. docker's SSH transport finds this ssh first, so",- "# every docker command shares one connection whether or not the alias says so.",+ "# docker commands share one connection unless the alias turns that off.",`exec ${shellQuote(realSsh)} -F ${shellQuote(configPath)} "$@"`,"",].join("\n");