You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: SSH server setup and library name mismatch issues
This commit fixes two critical issues:
1. SSH Connection Failure in Docker Containers:
- Docker backend didn't start SSH server after container creation
- Added EnsureSSHServer() to DockerBackend similar to WSLBackend
- Improved SSH config to explicitly bind to 0.0.0.0:22
- Added SSHServerBackend interface and Manager.Create now calls it
- Updated WSL backend to use consistent SSH setup script
2. Library Name Mismatch in ggo launch:
- launch_linux.go checked for exact canonical names (libcuda.so)
- Downloaded libraries often have different names (libaccelerator_nvidia-linux-amd64.so)
- Now uses FindActualLibraryFiles() to scan for actual downloaded files
- Matches pattern-based naming like studio already does
SSH server now starts automatically with:
- ListenAddress 0.0.0.0 (binds to all interfaces)
- PermitRootLogin yes
- Auto-generated host keys
- Default password (root:gpugo) for fallback auth
Library detection now handles any .so file matching vendor patterns
(libcuda*, libnvidia*, nvcuda*, nvml* for NVIDIA).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments