#warp subshells something i dont want it to

4 messages · Page 1 of 1 (latest)

red niche
#

i run ssh razer-laptop (which is through tailscale)
and then i get this:
'export' is not recognized as an internal or external command,
operable program or batch file.
Connection to razer-laptop closed.

i have ssh razer-laptop blacklisted in subshells in settings. please help. the shell will be in cmd from razer-laptop

little jewelBOT
#

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

#

It seems like you're encountering an issue with Warp's SSH Wrapper when trying to connect to your razer-laptop via ssh. The error message you're seeing suggests that the export command isn't recognized, which is likely because the default shell on your razer-laptop is PowerShell, and export is a Unix-based command.

Warp's SSH Wrapper enables features like blocks, prompt, completions, etc. on remote machines, but it requires the default prompt on the remote machine to be either bash or zsh. If the default shell is PowerShell, the SSH Wrapper might not work as expected.

Here are a couple of workarounds you can try:

  1. Use the subshell method instead of the SSH Wrapper: You can add command ssh to your Settings > Subshells > Added commands menu, then run command ssh razer-laptop to connect to your remote session. This will attempt to enable Warp features as a subshell, bypassing the SSH Wrapper.

  2. Disable the SSH Wrapper: Navigate to Settings > Features and disable the SSH Wrapper. This will stop blocks from working, but SSH should work as normal.

If these workarounds don't solve your issue, please let us know.

For more information, you can refer to the following documentation:

#

Sources:


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