open-remote-ssh icon indicating copy to clipboard operation
open-remote-ssh copied to clipboard

No support for ed25519-sk ssh key

Open timhorn1 opened this issue 1 year ago • 0 comments

Hello, using ssh keys with a passphrase are working fine but not with a passphrase and a yubikey, which needs to be touched. In the terminal I can login without any problems. I am entering the passphrase and after that confirming my user presence with a touch on the yubikey, what the console asked for. In VSCodium, there is no way to confirm the user presence via a touch on the yubikey. I assume this is the reason it fails. The following error output is as follows:

[Info  - 17:05:54.225] Resolving ssh remote authority 'ssh-remote+tr3' (attemp #1)
[Error  - 17:05:54.236] Error while parsing SSH public key /home/timh/.ssh/timh_sk:
Error: Unsupported key format
	at Object.ee [as parseKey] (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:367023)
	at /home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:442957
	at Array.map (<anonymous>)
	at t.gatherIdentityFiles (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:442896)
	at async /home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:403197
[Trace  - 17:05:54.237] Identity keys:
None
[Info  - 17:05:54.405] Trying no-auth authentication
[Error  - 17:05:54.469] Error resolving authority
Error: All configured authentication methods failed
	at me (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:155838)
	at /home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:409472
	at authHandler (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:404849)
	at Se (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:159056)
	at USERAUTH_FAILURE (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:147859)
	at 51 (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:311872)
	at e.exports.M (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:178401)
	at H.decrypt (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:274737)
	at e.exports.F [as _parse] (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:177925)
	at e.exports.parse (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:182312)
	at Socket.<anonymous> (/home/timh/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:154578)
	at Socket.emit (node:events:513:28)
	at Socket.emit (node:domain:489:12)
	at addChunk (node:internal/streams/readable:324:12)
	at readableAddChunk (node:internal/streams/readable:297:9)
	at Readable.push (node:internal/streams/readable:234:10)
	at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

I would be very glad if it would be possible to use my ssh key in combination with my yubikey also for vscode!

timhorn1 avatar Feb 20 '24 17:02 timhorn1