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:

  1. Configure SSH connection to a macOS server in ~/.ssh/config
  2. Attempt to connect via Windsurf Remote SSH
  3. Installation fails with "flock: command not found" error

Expected behavior:
Windsurf should either:

  1. Use macOS-compatible locking mechanisms
  2. Skip non-essential locking steps on macOS servers
  3. Have a platform-specific implementation for server installation

Additional info:

  • Server OS: macOS
  • Windsurf version: 1.9.2
  • SSH version: OpenSSH_9.9p2

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗