Fix ssh command execution in Warp terminal with fish shell
Discord Message
Author: 3amyatin Channel: #feedback Link: https://discord.com/channels/1405685085923049482/1405686161791516873/1454915729983013177
Hi, I have a difficulty running ssh exe.dev in Warp terminal with fish shell:
Before registration: ```
$ ssh exe.dev
Please complete registration by running: ssh exe.dev
Connection to exe.dev closed.
After registration via bash workaround: see attached image
What works:
- `bash -c "ssh exe.dev"` — in MacOS Warp terminal with fish shell
- `ssh exe.dev` — in MacOS Terminal app with fish shell
- `env TERM_PROGRAM=xterm-256color ssh exe.dev` — in MacOS Warp terminal with fish shell
Warp terminal incompatibility?
### Attachments
- [image.png](https://cdn.discordapp.com/attachments/1405686161791516873/1454915729609723925/image.png?ex=6952d35c&is=695181dc&hm=b909a19b9790c14382566222214e7a499b72f61ab4613916d6f7e1c802c04675&)
discord-bug
2 Comments
Looks like fish / Warp together are attempting to run commands immediately on connection for every ssh connection. But they're mistakenly assuming that the exe.dev repl is a linux machine.
We can probably detect and swallow this, or otherwise prevent it.
This is Warp falsely assuming that all ssh connections have a *nix box terminal on the other end.
Until they fix that, I've put in a workaround. It's in prod now--please feel free to re-open if it's not fixed for you. Thanks for your work diagnosing/debugging.