SSH connection fails on macOS server due to Linux-specific flock command usage
Resolved 💬 2 comments Opened May 29, 2025 by alok-garg Closed May 29, 2025
When connecting to a macOS server via SSH, Windsurf attempts to use the Linux-specific 'flock' command which doesn't exist on macOS servers. This causes the server installation to fail.
Steps to reproduce:
- Configure SSH connection to a macOS server in ~/.ssh/config
- Attempt to connect via Windsurf Remote SSH
- Installation fails with "flock: command not found" error
Expected behavior:
Windsurf should either:
- Use macOS-compatible locking mechanisms
- Skip non-essential locking steps on macOS servers
- Have a platform-specific implementation for server installation
Additional info:
- Server OS: macOS
- Windsurf version: 1.9.2
- SSH version: OpenSSH_9.9p2
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗