warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.35k stars 338 forks source link

Wrap report "[USM] token GATE 'exec' not supported, please try login from web SSO" when I connect the Server #2622

Open stevejoeyms opened 1 year ago

stevejoeyms commented 1 year ago

Discord username (optional)

No response

Describe the bug

It is not work and report "[USM] token GATE 'exec' not supported, please try login from web SSO", But it did work on mac terminal.

To Reproduce

  1. run warp
  2. run the code ssh -oHostKeyAlgorithms=+ssh-rsa user@ip -p 60022
  3. input the password
  4. input the msm code
  5. report the info and fail.

Expected behaviour

No response

Screenshots

No response

Operating System

MacOS

OS Version

13.2

Shell Version

3.2.57(1)-release (arm64-apple-darwin22)

Warp Version

2023.01.31.08.08.stable_02

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

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

None

stevejoeyms commented 1 year ago

image

dannyneira commented 1 year ago

Sorry to hear about this issue @stevejoeyms can you try with the SSH Wrapper disabled as a workaround? you'll lose Warp features in SSH session, but it should work. I'll bring this up with team investigating SSH issues.

stevejoeyms commented 1 year ago

thanks @dannyneira , this method works but lost the most important feature of warp. -0-

qixiaobo commented 1 year ago

same problem and how to fix?

qixiaobo commented 1 year ago

same problem and how to fix?

I found iterm2 works perfect

javalxs commented 1 year ago

I have got a same error info. how to fix it ?

silloy commented 1 year ago

same error, iterm2 works perfect

wuyinggui commented 4 months ago

same error,with DAS-USM,from dbappsecurity.com.cn

xrff commented 2 months ago

use .sh file, save the ssh login cmd, then run the .sh file. warp can handle this way.

xrff commented 2 months ago

if you are using Alibaba bastion, you can launch a local ssh proxy,like: ssh -T -N -D 127.0.0.1:60088 -oport=60022 {bastion_username}@{bastion_host} -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa

then just login target host throuth local proxy(MacOS), with out password or private key file: ssh -o ProxyCommand='nc -X4 -x 127.0.0.1:60088 %h %p' {host_username}@{target_host}

xrff commented 2 months ago

if you are using Alibaba bastion, you can launch a local ssh proxy,like: ssh -T -N -D 127.0.0.1:60088 -oport=60022 {bastion_username}@{bastion_host} -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa

then just login target host throuth local proxy(MacOS), with out password or private key file: ssh -o ProxyCommand='nc -X4 -x 127.0.0.1:60088 %h %p' {host_username}@{target_host}

warp [workflow] or [launch configuration] can save the ssh login command for the host