joelspadin / vscode-remote-x11

Visual Studio Code extension that sets the DISPLAY environment variable in remote workspaces
39 stars 9 forks source link

Another All configured authentication methods failed like #10 #75

Open RicoAfoat opened 1 year ago

RicoAfoat commented 1 year ago

Sorry to bother you all with a little bit silly problem,but I meet similar problem like #10 .But I have connected to my visual machine using vscode extension Remote SSH without password successfully(I have runssh-keygen and I have added my public key to my server's ~/.ssh/authorized_keys file).

I have searched the web but I failed to solve the problem.

Here's the log :

Setting up display for remote "ssh-remote".
Connecting with SSH. See Remote X11 (SSH) logs for more details.
Error: All configured authentication methods failed
Connecting to ra@192.168.225.128 port 22
Error: All configured authentication methods failed

I would appreciate if you could help me.

RicoAfoat commented 1 year ago

I guess there's sth. wrong with xming,I'll get a VcXsrv and see if it works.

RicoAfoat commented 1 year ago

Narrowly succeed using VcXsrv,but the extension still shows the same log.

RicoAfoat commented 1 year ago

I uninstall your extension & find the display still works...I am truly puzzled.

SJoJoK commented 1 year ago

same issue here, I can connect to my remote machine with vscode using publicKey, but the plugin says all configured authentication methods failed.