Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH connection breaks immediately #4924

Open
1 task done
thatsnotamuffin opened this issue May 16, 2024 · 2 comments
Open
1 task done

SSH connection breaks immediately #4924

thatsnotamuffin opened this issue May 16, 2024 · 2 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@thatsnotamuffin
Copy link

Dupe Check

Describe the bug

When I SSH into an instance; amazon linux 2023, ubuntu 20.04, and ubuntu 22.04, the connection breaks immediately after entering a command in the terminal. Warp shows the below output after entering any command in the remote terminal

exit
Connection to 10.x.x.x closed.

The issue is almost intermittent, but consistent. Every so often Warp will work as expected but more often than not, the connection will break immediately. I am on an internal VPN, however any other terminal will work including Terminator and the stock Terminal.

To reproduce

  1. SSH to a remote instance in AWS
  2. Enter a command

Expected behavior

I should be able to use the remote terminal/SSH connection as normal

Screenshots

No response

Operating system

Linux

Operating system and version

Ubuntu 20.04

Shell Version

GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)

Current Warp version

v0.2024.05.07.08.02.stable_02

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

May 16, 2024

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

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:b9d78064-c89e-4973-b153-5178a31ee54e

None

@thatsnotamuffin thatsnotamuffin added the Bugs Bugs, Hangs, Crash, and Freezes label May 16, 2024
@danielpeng2
Copy link
Member

Thanks for reporting. Are you able to try SSHing into a remote instance while not on the VPN, I'm curious if that works.

As a workaround, you can try using adding command ssh to your Settings > Subshell menu, then use command ssh <user@server> to connect to sessions, this will enable Warp features with the subshell method instead of the ssh wrapper.

Or, you can also try disabling the SSH wrapper by navigating to Settings > Features. Blocks will stop working but with it disabling, SSH should work as normal.

@dannyneira
Copy link
Member

Please see our ssh troubleshooting docs for more on this. https://docs.warp.dev/features/ssh#troubleshooting-ssh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

3 participants