-
Notifications
You must be signed in to change notification settings - Fork 102
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
Unable to connect with SSH certificate #2361
Comments
Hi @buzzia2001 , As a workaround, open your user settings as JSON, look for your connection settings, and then put the Save and try to connect. Also, make sure you put the path to your private key (presumably |
Ciao @sebjulliand, |
Yep, this will corrected in the future. |
@sebjulliand thank you for your support |
Anytime 😉 |
There definitely is a bug in creating a connection lately. I just tried for a while and had to edit the settings in json. |
@jwoehr you mean in regards to using a certificate? We have a PR in the works. Just needs a little more testing. |
It's that it doesn't correctly create the entry in the settings.json file. |
@jwoehr if you create a new connection and attempt to connect, it won't save unless it connects successfully. |
It didn't seem to save the path to the key file correctly. It just put the file name in with no path. |
@worksofliam here's what's happening today when I try to create a new IBM i connection. When I get to the "private key" part, my Ubuntu-like distro opens a Gnome requester and I choose the key from my home Then I try to connect and get this error: If I look at ~/.config/Code/Users/settings.json I find: {
"name": "SomeHost",
"host": "192.168.1.99",
"port": 22,
"username": "MYPROFILE"
"privateKeyPath": "undefined"
} If I manually thereafter edit the file to add the privateKeyPath, all works as expected. |
@worksofliam Just had another one this morning ... customer who couldn't get private key login working, this time on Windows. Same thing: Browse for private key, shows correct in the settings dialog, but ends up with "privateKeyPath": "undefined". Edited settings.json manually and it works. |
@jwoehr this is known bug. The We'll try to release a fix at some point, but for now the only workaround is to edit the settings manually and set the path to the private key manually 😑 |
Je vous en remercie ... just wanted to make sure we are clear on what users are experiencing. |
Avec plaisir ! Yup, users are experiencing an unexpected annoying surprise feature. |
Hi everyone,
I'm trying to setting up vs code in order to connect to my I whith certificate. Now a days I'm still using password, but I want to try using certificate. My version of code4i is 2.13.6 and my vs code is 1.95.3 on MacOS.
When I setup up my connectio I choose my idrsa.pub and when I click on save it seems to be fine, but when I try to connect there is this error "config.privateKeyPath does not exist at given fs path"
Can anyone help me?
Thank you a lot for your amazing job
Andrea
The text was updated successfully, but these errors were encountered: