#warp subshells something i dont want it to
4 messages · Page 1 of 1 (latest)
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:
-
Use the subshell method instead of the SSH Wrapper: You can add
command sshto yourSettings > Subshells > Added commandsmenu, then runcommand ssh razer-laptopto connect to your remote session. This will attempt to enable Warp features as a subshell, bypassing the SSH Wrapper. -
Disable the SSH Wrapper: Navigate to
Settings > Featuresand 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:
- Warp SSH Features (https://docs.warp.dev/features/ssh)
- Warp Subshells Features (https://docs.warp.dev/features/subshells)
Sources:
- Github Issue (closed): Invalid input: export when connecting to a switch > Comments (https://github.com/warpdotdev/Warp/issues/4665)
- Github Issue (open): Warp SSH Warpper makes connection to Windows disconnect immediately > Comments (https://github.com/warpdotdev/Warp/issues/4850)
- Discord support thread: Keep getting issue with command in this shell is still running > Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: (https://discord.com/channels/851854972600451112/1250813575098925166)