Warp icon indicating copy to clipboard operation
Warp copied to clipboard

SSH fails for specific host

Open wuhhh opened this issue 1 year ago • 11 comments

Discord username (optional)

wuh#5913

Describe the bug

I have a bunch of SSH hosts set up in my ~/.ssh/config file and till now everything's worked fine using Warp to SSH in to each one. Hit a snag today on a WPEngine host though, here is the output:

bash: -c: line 0: syntax error near unexpected token `then'
bash: -c: line 0: `export TERM_PROGRAM=WarpTerminal _user=$(command -v whoami >/dev/null 2>&1 && command whoami 2>/dev/null || echo $USER) _hostname=$(command -v hostname >/dev/null 2>&1 && command hostname 2>/dev/null || uname -n) hook=$(printf {"hook": "SSH", "value": {"socket_path": "~/.ssh/167861612428743", "user": "%s", "host": "%s", "remote_shell": "%s"}} $_user $_hostname ${SHELL##*/} | command od -An -v -tx1 | command tr -d  \n) printf %                                         

Filing this as a Warp bug because I tried in iTerm2 and it works just fine.

To Reproduce

NA

Expected behaviour

NA

Screenshots

https://app.warp.dev/block/h9m1pXZDgQgonjjworqgfZ

Operating System

MacOS

OS Version

12.5.1

Shell Version

zsh 5.8.1 (x86_64-apple-darwin21.0)

Warp Version

0.2023.03.07.08.02.stable_01

Additional context

No response

Does this block you from using Warp daily?

No

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

None

wuhhh avatar Mar 12 '23 10:03 wuhhh