File write operations fail silently over SSH Remote connection
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
linux
Kiro Version
0.8.86
Bug Description
When using Kiro over SSH Remote connection, file write operations (strReplace, fsAppend, and partially fsWrite) report success but do not actually persist changes to disk. The issue does NOT occur when running Kiro locally on Windows.
Environment Kiro Version: Latest (as of January 2026) Local Machine: Windows (works correctly ✅) Remote Machine: Raspberry Pi (Linux/Debian-based) via SSH Remote Filesystem: ext4 Connection: SSH Remote extension
Reproduction Windows (local): All file operations work correctly ✅ SSH Remote to Linux: File operations report success but don't persist ❌
Steps to Reproduce
Connect to a remote Linux machine via SSH Remote in Kiro Open a workspace with existing files Attempt to modify an existing file using strReplace: strReplace on file.ts: oldStr -> newStr Kiro reports: "Replaced text in file.ts" Verify with bash: tail -5 file.ts - changes are NOT present Test Results Operation Windows (Local) SSH Remote (Linux) fsWrite (new file) ✅ Works ✅ Works fsWrite (overwrite) ✅ Works ⚠️ Partial fsAppend ✅ Works ❌ Reports success, no change strReplace ✅ Works ❌ Reports success, no change executeBash ✅ Works ✅ Works
Root Cause Hypothesis The SSH Remote file system abstraction layer may not be properly flushing/syncing file writes, or there's a caching issue specific to remote connections.
Workaround Use bash commands (sed, echo >>, cat >) instead of Kiro's native file operations when connected via SSH Remote.
Expected Behavior
File write operations should work identically whether running locally or over SSH Remote.
Conversation ID
0e93d49f-0a9e-4c7f-a597-4142d9fdf095
Additional Context
No response
Similar issue with macos local machine
We're doing a periodic backlog review and noticed this issue has been inactive for several months. Kiro has shipped a lot of changes since this was filed — we're now on IDE 1.0.293 and CLI 2.18.0 — and without any community uptake, we can't confidently prioritize it.
Closing to keep the backlog focused, but not as a dismissal. If you're still seeing this or others share the same experience, a new issue with your current version and any updated details would help us pick it back up. Issues with 👍 reactions from the community rise to the top fastest.