Warp
Warp copied to clipboard
SSH causes intermittent issues
Discord username (optional)
No response
Describe the bug
When i do SSH into some sever this happens frequently .
channel 21: open failed: connect failed: open failed channel 21: open failed: connect failed: open failed channel 23: open failed: connect failed: open failed channel 21: open failed: connect failed: open failed channel 23: open failed: connect failed: open failed channel 25: open failed: connect failed: open failed channel 21: open failed: connect failed: open failed channel 23: open failed: connect failed: open failed channel 25: open failed: connect failed: open failed channel 21: open failed: connect failed: open failed channel 23: open failed: connect failed: open failed channel 25: open failed: connect failed: open failed channel 21: open failed: connect failed: open failed channel 21: open failed: connect failed: open failed channel 23: open failed: connect failed: open failed
To Reproduce
After doing ssh to machine.
Expected behaviour
No response
Screenshots
No response
Operating System
MacOS
OS Version
12.6
Shell Version
version 3.2.57
Warp Version
v0.2022.10.11.08.13.stable_01
Additional context
No response
Does this block you from using Warp daily?
Yes
Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e
No response
I came to report the same issue.
@szgupta Can you check this
Hey @taman0753, is this happening only in the latest release?
@szgupta This was a intermittent issue is previous versions as well , but after update its very frequent which causes me to not use Warp terminal !!
I have used the troubleshooting step given here https://docs.warp.dev/features/ssh#troubleshooting
@szgupta @alokedesai Any updates
@taman0753 Just to confirm, you aren't seeing this in other terminals? Does this still repro in Warp if you disable the "Warp SSH Wrapper" setting?

@alokedesai Other terminals are working as expected , after disabling "Warp SSH Wrapper" i am not able to utilise warp feature like suggestions , history etc.
@taman0753 Yeah, just wanted to make sure it was something specific to our SSH wrapper implementation :) Are you able to reproduce this for all the boxes you SSH into or is it only for specific ones?
@alokedesai Its almost for all the boxes. after disabling "Warp SSH Wrapper" the issue is not seen as of now.
@alokedesai But after disabling SSH wrapper functionalities are not working
@alokedesai @szgupta Any updates here , please check its very frequent.
@taman0753 We're actively looking into this. Could you send us a video of the issue occurring so we can better understand when and how the error manifests?
@taman0753 Could you also run sudo sshd -T | grep -Ei 'TCPKeepAlive|AllowTCPForwarding|PermitOpen' on the remote boxes where this reproduces and send the output?
@alokedesai Please find the output of the above command.

@alokedesai I have shared the video over email ([email protected]) to you. Please acknowledge.
@taman0753 We're actively looking into this. Could you send us a video of the issue occurring so we can better understand when and how the error manifests?
@alokedesai Let me know if any other thing needed to dig deeper to the issue.
@taman0753 Are you able to reproduce this if you turn off syntax highlighting and error underlining?
I disabled syntax highlighting and error underlining and am still having a similar issue on nearly every command:
channel 3: open failed: administratively prohibited: open failed
channel 5: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
channel 3: open failed: administratively prohibited: open failed
@orionarcher Is this a recent regression? Are you able to reproduce with this build?
I was able to reproduce with that build. I didn't see any option for syntax highlighting or error underlining present though.
@orionarcher Ok good to know, how long has this issue existed in Warp for you?
I only started using Warp a couple weeks ago and it happened the first time I sshed into a cluster.
@taman0753 Are you able to reproduce this if you turn off syntax highlighting and error underlining?
Yes @alokedesai Issue is still there
@alokedesai Can we get the update to correct this issue.
I'm having the same issue as well. In case this helps, in my case I'm using ssh controlmaster and I've seen this problem in a "child" ssh connection. I checked MaxSessions as suggested but I have that commented out. If there is any troubleshooting/logs that can help here just let me know; I'm eager to using warp more. keep up the good work!
Facing same issue. This started happening after I had updated Warp 2-3 weeks ago. Any update on this?
@taman0753 @horacimacias @rohitrp We're still trying to better understand why this is happening as we've been unable to reproduce on our end, thank you for your patience here.
In the meantime, it would be very useful for us if you could help us debug when this issue went wrong by testing on prior builds of Warp. Does this issue repro on this version of Warp?
@alokedesai I have been using this build (v0.2022.09.07.14.56.stable_00) for the last 1 hour and didn't face the SSH issue. With the latest build, I start getting the SSH errors (channel open failed) within mins. So, it looks like this build doesn't have this SSH related bug.
Hi @taman0753 @orionarcher @horacimacias, I'm working to reproduce this issue, and I just wanted to rule out if there are some unsupported plugins on the remote machines. Please try the following on the remote machines and see if the issues persist.
- Re-enable the ssh wrapper in Warp.
- Disable your dotfiles just for Warp on the remote machine by using this conditional statement:
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
##### WHAT YOU WANT TO DISABLE FOR WARP - BELOW
# The entire contents of your bashrc/zshrc on the remote machine.
##### WHAT YOU WANT TO DISABLE FOR WARP - ABOVE
fi
This way we can make sure the plugins on the remote machine are disabled for Warp and not the cause of the issues.