Warp icon indicating copy to clipboard operation
Warp copied to clipboard

SSH wrapper incompatible with ksh on OpenBSD 7.1

Open paulsuh opened this issue 2 years ago • 4 comments

Discord username (optional)

No response

Local Shell and Version

zsh 5.8.1

Remote Shell and Version

ksh @(#)PD KSH v5.2.14 99/07/13.2

Operating System and Version

OpenBSD 7.1

Warp Version

v0.2023.01.03.08.03.stable_01

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

  • [X] Yes

Screenshots

With ssh wrapper on:

ssh [email protected]
ksh: syntax error: `(' unexpected
Connection to 192.168.139.1 closed.

With ssh wrapper off:

ssh [email protected]
Last login: Sun Jan  8 23:46:55 2023 from 192.168.139.61
OpenBSD 7.1 (GENERIC.MP) #3: Sun May 15 10:27:01 MDT 2022

Welcome to OpenBSD: The proactively secure Unix-like operating system.

Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code.  With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.

redoubt$

Oddly enough, I copied the output of which warp_ssh_helper to a text file on the OpenBSD system, then tried running the contents using both . ./warp_ssh_helper and ksh -l warp_ssh_helper, and neither one reported an error. It's late but I will try doing a little more debugging tomorrow. Is there a way that I can specify an alternative warp_ssh_helper script?

Include shell xtrace output

WARP_DEBUG_MODE=1 ssh [email protected]
ksh: syntax error: `(' unexpected
Connection to 192.168.139.1 closed.

Does this block you from using Warp daily?

No

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

None

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

None

paulsuh avatar Jan 09 '23 05:01 paulsuh

Sorry about this issue, good to know it's not a major blocker, but as a workaround, you can disable the SSH wrapper in the settings > features. We'll add any updates to this on this thread.

dannyneira avatar Jan 10 '23 00:01 dannyneira

Hi @paulsuh & @jimrazmus As a workaround for this issue, we recommend you set up a supported shell on the remote machine, bash/zsh/fish. Let us know if that helps with the SSH Wrapper issues.

dannyneira avatar Jun 05 '23 16:06 dannyneira

Hi there! Any update on this front? 🙂 The issue is still present with Warp latest (v0.2023.10.17.08.03.stable_01) and OpenBSD 7.4 release.

45H avatar Oct 23 '23 20:10 45H

Same issue here

CalfCrusher avatar Oct 13 '24 00:10 CalfCrusher