#Warp is crashing when ssh connection
1 messages · Page 1 of 1 (latest)
There are several reports in the knowledge sources of Warp crashing or misbehaving when using SSH, especially with commands like:
ssh user@host "command goes here"
This type of issue has been observed in multiple contexts, including when running SSH commands with remote execution, using port forwarding, or when the SSH wrapper is enabled. Users have reported that Warp either crashes, hangs, or the SSH session closes unexpectedly after running a command. These problems are often specific to Warp and do not occur in other terminals.
Workarounds and Recommendations:
- Disable the SSH Wrapper: Many users have found that disabling the SSH Wrapper in Warp's settings prevents crashes, though you will lose some Warp-specific features like blocks and enhanced prompts. You can do this in
Settings > Featuresunder the SSH section. - Use the Subshell Workaround: Add
command sshto your Subshells settings (Settings > Subshells > Added commands) and then connect usingcommand ssh user@host. This can sometimes enable Warp features without triggering the SSH wrapper issues. - Check for Updates: Some issues have been fixed in recent releases, so ensure you are running the latest version of Warp. If the problem persists, monitor the Warp GitHub issues for updates or hotfixes.
Relevant reports:
- Users have reported similar crashes when running SSH commands with remote execution or when using tmux or port forwarding in the SSH command. These issues are acknowledged by the Warp team, and fixes or workarounds are often discussed in the comments of these issues. For example, see this issue about SSH and tmux causing crashes, and this issue about SSH wrapper problems.
If you continue to experience crashes with the latest version and the above workarounds do not help, it is recommended to open a new issue on the Warp GitHub with detailed logs and your configuration, as the team is actively working on improving SSH support.
Summary:
Warp is known to have issues with SSH commands that execute remote commands, especially when the SSH wrapper is enabled. Disabling the SSH wrapper or using the subshell workaround may help, but you may lose some Warp features. The Warp team is aware and working on improvements, so keep an eye on updates and report your specific crash if it persists.