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 not align #4914

Open
2 tasks done
xinxianwu opened this issue May 14, 2024 · 5 comments
Open
2 tasks done

SSH not align #4914

xinxianwu opened this issue May 14, 2024 · 5 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes SSH SSH Related Issues

Comments

@xinxianwu
Copy link

Dupe Check

Operating System

MacOS

Operating System and Version

macOS Sonoma 14.4.1

Local Shell Version

3.2.57(1)-release

Remote Shell Version

5.1.16(1)-release

Warp Version

v0.2024.04.30.08.02.stable_01

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

  • Yes

Screenshots

image

Include shell xtrace output

When using Warp Terminal to SSH into remote Linux machines, the terminal display often misaligns, with commands and window elements not aligning properly.

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:e7dfaa84-5fdb-4a00-b754-d8912da923fa

None

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

None

@xinxianwu xinxianwu added Bugs Bugs, Hangs, Crash, and Freezes SSH SSH Related Issues labels May 14, 2024
@dannyneira
Copy link
Member

dannyneira commented May 14, 2024

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.

https://docs.warp.dev/features/ssh
https://docs.warp.dev/features/subshells

If those don't work, please let us know.

@danielpeng2
Copy link
Member

Thanks for reporting, seems like there might be an issue with how we parse the backslash in your username. Are you able to test ssh-ing into a remote machine with a username without a backslash? It'd be helpful to know if there's still alignment issues in that case.

@xinxianwu
Copy link
Author

Thanks for reporting, seems like there might be an issue with how we parse the backslash in your username. Are you able to test ssh-ing into a remote machine with a username without a backslash? It'd be helpful to know if there's still alignment issues in that case.

Due to the company's policy on managing domains, our username must have backslashes

@xinxianwu
Copy link
Author

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.

https://docs.warp.dev/features/ssh https://docs.warp.dev/features/subshells

If those don't work, please let us know.

According to my understanding, using the SSH wrapper should enable intelligent prompts and AI services on remote machines. However, I am experiencing display misalignment issues, where commands and window elements do not align properly. Could this be a side effect of using the SSH wrapper?

@danielpeng2
Copy link
Member

Could this be a side effect of using the SSH wrapper?

Yeah, it's likely to do with how the SSH wrapper handles bootstrapping the remote shell so it works with Warp. If you try @dannyneira workaround of using command ssh to enable the subshell wrapper instead, does the issue still appear?

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 SSH SSH Related Issues
Projects
None yet
Development

No branches or pull requests

3 participants