#Warp is crashing when ssh connection

1 messages · Page 1 of 1 (latest)

worthy cairnBOT
#

Hi @crude narwhal. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

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 > Features under the SSH section.
  • Use the Subshell Workaround: Add command ssh to your Subshells settings (Settings > Subshells > Added commands) and then connect using command 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:

#

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.

If you need more specific troubleshooting steps, please provide the exact error message or crash log, and I can help further.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: