mongo4idea
mongo4idea copied to clipboard
Remote DB using SSH says invalid private key
I am trying to connect to a google cloud vm instance with mongo running using a openssh private key but it says invalid private key but it connects and works fine with other mongodb browsers I have.
I have the same issue. My theory is, that I use an ed25519-key and the jcraft.jsch cant deal with this type of key: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360001301679-invalid-priatekey-error https://stackoverflow.com/questions/47075187/jsch-support-for-ed25519-keys https://issues.jenkins.io/browse/JENKINS-30319
Maybe there is a newer version of jsch available or David could switch to another SSH-vendor which allows ed25519 keys? This would be great!
Even better would be if @dboissier could implement the OpenSSH config and authentication agent function, so that I could connect with my key stored in pageant ;)