-
Notifications
You must be signed in to change notification settings - Fork 47
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
Error: Encrypted OpenSSH private key detected, but no passphrase given #154
Comments
Also get this error on mac, not on fedora linux though... any updates? edit: trying #32 out now |
In my Case (Client: Ubuntu 24.04 Noble AMD64, Server: Debian 12 Bookworm AMD64) it just says:
And then proceeeds to ask for a Passphrase 👎. My
Then I load a File from I have a Password-Protected Private Key, however it has already been unlocked via So unfortunately the Extension is not behaving like the "normal" |
@jeanp413: Any hope of getting this Fixed ? I think your Extension is using a custom "Interpreter" compared to the "Native" OpenSSH Client, as it's not really following all Files and Includes defined in The "Workaround" to set "The absolute file path to a custom SSH config file:" to Please correct if this Assumption is wrong of course. |
As #32 suggested, I fixed the issue by putting the public key in the same directory as the private key, with the ending .pub... i.e. |
@zhengliw: they Keys ARE in the SAME directory in my case.
So, nope, #32 doesn't Help me at all unfortunately :(. Only my "Workaround" did the Job, but I'd like some better Solution to be implemented upstream. |
Please excuse my ignorance...
|
No worries ... |
/Error for me on vscodium, was putting my config as it should be
ctrl + shift + p => Remote-SSH: Open SSH configuration file... :
on console it gives me this exact error:
Is this an error I produce or something I miss or is somebody else getting the same error? Or might somebody reveal to me how to putt the passphrase somewhere? I also do use putty and pageant if this helps in any way.
I also tried to figure out about my ssh agent by putting
"Get-WmiObject win32_service | ?{$_.Name -like 'ssh-agent'} | select PathName" into PowerShell which showed up this:
May be this is also important to get some proper advice. I hope I provided all informations needed and anyone of you guys is able to give me the ultimate advice =)
Cheers
The text was updated successfully, but these errors were encountered: