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

Cannot work withwarpgate #4948

Closed
2 tasks done
oslo254804746 opened this issue May 24, 2024 · 2 comments
Closed
2 tasks done

Cannot work withwarpgate #4948

oslo254804746 opened this issue May 24, 2024 · 2 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes SSH SSH Related Issues

Comments

@oslo254804746
Copy link

Dupe Check

Operating System

MacOS

Operating System and Version

14.4.1

Local Shell Version

5.9

Remote Shell Version

4.2.46(2)-release

Warp Version

v0.2024.05.21.16.09.stable_02

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

  • Yes

Screenshots

use Warp

image

Use iTerm2 + zsh

image

Include shell xtrace output

I have many internal network machines and one public network machine. The public machine and the internal network machines are connected via VPN. The public machine also hosts the warpgate service. All commands to access the internal machines from the public machine are like ssh 'ticket-aca7077a872e8a6b100d36e3da1bff24c346808ef140580e0937a21da25d2e01@ip' -p 2222. This command works fine on zsh, but it directly throws an error on Warp.

WARP_DEBUG_MODE=1 ssh 'ticket-aca7077a872e8a6b100d36e3da1bff24c346808ef140580e0937a21da25d2e01@10.xx.xx.3' -p 2222
exec request failed on channel 1

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.)

No, this same issue happens in Warp and other terminals.

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

None

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

None

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

Warp has an SSH Wrapper that enables features (like the blocks, prompt, completions, etc.) on remote machines requiring the default prompt on the remote machine to be either bash or zsh.

As a workaround you can add command ssh to your Settings > Subshells > Added commands menu, then run command ssh <user@server> to connect to remote session, this will attempt to enable Warp features as a subshell.

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.

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

Please let us know if that helps.

@oslo254804746
Copy link
Author

thanks, after disable ssh wrapper it works

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

2 participants