richterger / Perl-LanguageServer

Language Server for Perl
Other
222 stars 53 forks source link

Host Key verification not working #85

Closed kt1040tr closed 3 years ago

kt1040tr commented 3 years ago

Running VS-Code on Windows to develope for Linux with Perl. Remote-SSH is running, I can connect via ssh and plink to my linux, but wenn I start VS-Code with a Perl-File I get the info about Languageserver could not start due to Host Key verification failed. I do not understand why this failes.

Host key verification failed. [Info - 10:58:50 AM] Connection to server got closed. Server will restart. Host key verification failed. [Info - 10:58:50 AM] Connection to server got closed. Server will restart. Host key verification failed. [Info - 10:58:50 AM] Connection to server got closed. Server will restart. Host key verification failed. [Info - 10:58:50 AM] Connection to server got closed. Server will restart. Host key verification failed. [Error - 10:58:50 AM] Connection to server got closed. Server will not be restarted.

richterger commented 3 years ago

Login to your system from the command line, so the hostkey is save in your known_hosts and afterwards it should work.