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

Invalid autocommand in SSH configuration #2836

Open
1 task done
etoromol opened this issue Mar 26, 2023 · 2 comments
Open
1 task done

Invalid autocommand in SSH configuration #2836

etoromol opened this issue Mar 26, 2023 · 2 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes SSH SSH Related Issues

Comments

@etoromol
Copy link

Discord username (optional)

No response

Local Shell and Version

5.8.1

Remote Shell and Version

5.8.1

Operating System and Version

macOS Ventura 13.2.1

Warp Version

v0.2023.03.21.08.02.stable_02

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

  • Yes

Screenshots

When I try to connect to one of my ec2-instances in AWS, I received an error and the connection gets closed by the remote host. This issue only occurs when using Warp, same configuration works on Apple Terminal.

`ssh -i ios-cloudshell-key.pem -o PubkeyAcceptedKeyTypes=+ssh-rsa ec2-user@a.b.c.d
The authenticity of host 'a.b.c.d (a.b.c.d)' can't be established.
RSA key fingerprint is SHA256:snip…
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'a.b.c.d' (RSA) to the list of known hosts.

Line has invalid autocommand "
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","Connection to a.b.c.d closed by remote host.
Connection to a.b.c.d closed.`

Include shell xtrace output

None.

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

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

None

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

None

@etoromol etoromol added Bugs Bugs, Hangs, Crash, and Freezes SSH SSH Related Issues labels Mar 26, 2023
@dannyneira
Copy link
Member

dannyneira commented Mar 28, 2023

Hi @etoromol Sorry to hear about this, I recommend you disable the SSH Wrapper in Warps Settings > Features > Session, this should help with the issue in the meantime, but will disable Warp features in SSH sessions.

We will investigate the issue and post updates on this thread.

@etoromol
Copy link
Author

etoromol commented Apr 1, 2023

Hi @dannyneira. Thank you for your recommendation. The workaround of disabling the SSH Wrapper fixed the issue.

Feel free to reach me out if I can provide any data to help with the recreate and investigation.

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