gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

ssh Remote connections do not support single quotes

Open jianboy opened this issue 1 year ago • 8 comments

Bug description

first, ssh client did not support single quotes:

this is error, can not find host: image

this is ok: image

but website show this command: image

second, I can not connect remote gitpod container with vscode. the error is: image

error log:

image

2024-07-31 18:18:19.082 [error] Local SSH: failed to connect to beige-impala-hjioru2d Gitpod workspace: Failed to call public API: [internal] Protocol error
2024-07-31 18:18:19.211 [error] Failed to connect to beige-impala-hjioru2d Gitpod workspace: Failed to call public API: [internal] Protocol error

Steps to reproduce

just open a gitpod project.

Workspace affected

No response

Expected behavior

No response

Example repository

No response

Anything else?

No response

jianboy avatar Jul 31 '24 10:07 jianboy

I think the error is caused by ssh not supporting single quotes, so replace single quotes to double quotes in gitpod plugins.

jianboy avatar Jul 31 '24 10:07 jianboy

What's the output of ssh -V?

axonasif avatar Jul 31 '24 12:07 axonasif

What's the output of ssh -V?

OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2

image

jianboy avatar Aug 01 '24 05:08 jianboy

I'm not sure why this is happening, can you try updating it? Was OpenSSH installed by default?

axonasif avatar Aug 01 '24 06:08 axonasif

I didn't know how to update it(OpenSSH). this is a little problem.

the real problem is that I can not refresh repo list in vscode with gitpod plugin.

https://github.com/user-attachments/assets/a2fffd94-0b74-49c0-940b-d3ac181155c9

jianboy avatar Aug 02 '24 15:08 jianboy

I think the problem is that the gitpod extension does not support single quotes. remove quotes, or replace double quotes.

jianboy avatar Aug 03 '24 04:08 jianboy

the real problem is that I can not refresh repo list in vscode with gitpod plugin.

Can you follow this?

https://www.gitpod.io/docs/help/troubleshooting#gitpod-logs-in-vs-code-browser-and-desktop

axonasif avatar Aug 06 '24 09:08 axonasif

I found the problem. It was caused by my other plugins that could not display the list. I disabled all the plugins. the gitpod works well.

These are actually two problems. The lack of support for single quotes does exist. The plug-in cannot be used because of other plug-ins, which I have uninstalled.

vscode-desktop-logs-20240806T145244.zip

jianboy avatar Aug 06 '24 15:08 jianboy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 05 '24 15:11 github-actions[bot]