warp icon indicating copy to clipboard operation
warp copied to clipboard

SSHing raises many "channel n: open failed: connect failed: open failed" errors

Open vivaansinghvi07 opened this issue 3 years ago • 52 comments

Discord username (optional)

No response

Operating System

MacOS

Operating System and Version

Ventura 13.4.1

Local Shell Version

5.9

Remote Shell Version

4.4.19

Warp Version

v0.2023.07.18.08.03.stable_00

I have tried commenting out my system & user rcfiles and warp still will not bootstrap

  • [X] Yes

Screenshots

While I type there is a continuous stream of errors saying "channel n: open failed: connect failed: open failed", which n is some number (varying in a range of about 2-9). I can still use the remote connection though, the errors are just really constantly there.

Include shell xtrace output

I cannot find the output.

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore) - linear-label:e7dfaa84-5fdb-4a00-b754-d8912da923fa

None

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

vivaansinghvi07 avatar Jul 21 '23 03:07 vivaansinghvi07

hey @vivaansinghvi07 Sorry to hear about this issue.

We're tracking this issue over at #1957 where we have posted a possible workaround.

Would appreciate it if you could :+1: and comment there if you're also experiencing the same bug. This helps us gauge the impact of the issue.

We'll be closing this as a duplicate.

dannyneira avatar Jul 24 '23 20:07 dannyneira

this is ongoing and very annoying

yassineS avatar Jan 23 '24 15:01 yassineS

Yep very annoying

channel 17: open failed: connect failed: open failed channel 18: open failed: connect failed: open failed channel 17: open failed: connect failed: open failed channel 18: open failed: connect failed: open failed channel 17: open failed: connect failed: open failed channel 20: open failed: connect failed: open failed channel 14: open failed: connect failed: open failed channel 18: open failed: connect failed: open failed

DanyPell avatar Mar 21 '24 19:03 DanyPell

please fix image

ecsplendid avatar Nov 02 '24 21:11 ecsplendid

I have this all the time, especially inside AWS servers

luisdalmolin avatar Nov 18 '24 14:11 luisdalmolin

I have the same issue. Please, fix ASAP image

My version: v0.2024.11.12.08.02.stable_02

upagg avatar Nov 21 '24 14:11 upagg

Same problem here.

willros avatar Nov 25 '24 11:11 willros

They don’t care about this. I went back to term and I’m very happy.

yassineS avatar Nov 25 '24 22:11 yassineS

Same here

diegobaronm avatar Nov 26 '24 17:11 diegobaronm

Literally just came here to check this. It is making it very difficult to screenshare when the terminal jumps 40 lines to print out these not necessary channel messages. Sad :(

Will update if I can find an answer. Really enjoy Warp all other things considered.

danvau7 avatar Nov 26 '24 19:11 danvau7

FYI for this I was able to fix it surprisingly easily.

Literally just prepend the word command before you ssh into a box, and the annoying messages go away.

So command ssh [email protected].

@dannyneira

danvau7 avatar Nov 26 '24 20:11 danvau7

The problem appears if there are much files in a folder and i want to tap in warpify mode.

As i wrote it already in the other thread. I think warpify has its limits, because it need to be downloaded, cached and rehashed and thats only working if the amount of data is small enough. (not much files for example) So i guess they can't solve this problem. Yes they can find a possibility to not show this error, but the autocompletion won't work until all is loaded (the error is resulting out of that circumstances for sure)

wastez avatar Nov 27 '24 08:11 wastez

Hi all -- we've been working hard on a fix for the ssh issues and have a new approach that we'd love your feedback on.

If you're up for giving it a shot, here's how you can try it out:

To enable the new ssh experience: On macOS, run defaults write dev.warp.Warp-Stable SshTmuxWrapperOverride true. On Linux, add the "SshTmuxWrapperOverride": "true" key-value pair to ~/.config/warp-terminal/user_preferences.json. Quit and re-open Warp.

alokedesai avatar Dec 30 '24 02:12 alokedesai

The macOS one works for me. Thanks! @alokedesai

zhiyanliu avatar Dec 30 '24 06:12 zhiyanliu

did not work for me

LordMyschkin avatar Aug 31 '25 17:08 LordMyschkin

did not work for me on Linux

toaksoy avatar Sep 03 '25 13:09 toaksoy

did not work for me on macOS Sequoia

dwidman avatar Sep 16 '25 10:09 dwidman

Hi all -- we've been working hard on a fix for the ssh issues and have a new approach that we'd love your feedback on.

If you're up for giving it a shot, here's how you can try it out:

To enable the new ssh experience: On macOS, run defaults write dev.warp.Warp-Stable SshTmuxWrapperOverride true. On Linux, add the "SshTmuxWrapperOverride": "true" key-value pair to ~/.config/warp-terminal/user_preferences.json. Quit and re-open Warp.

Hi, this did not work for me. Running version v0.2025.07.16.08.12.stable_04, macOS 26.0. I keep getting the very annoying channel open failed message.

Only fix is running command + ssh etc etc

enfinders avatar Sep 20 '25 17:09 enfinders

Same as above, still an issue.

Repulser avatar Sep 30 '25 15:09 Repulser

Same issue here on macOS, the command fix works, however the other suggest one (SshTmuxWrapperOverride) does not work. Disappointing :/

matteohoeren avatar Oct 07 '25 09:10 matteohoeren