liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 256 forks source link

Configured authentication methods failed. #1026

Open Soliaonline opened 3 months ago

Soliaonline commented 3 months ago

Do you read the FAQ? Yes

Describe the bug Configured authentication methods failed.

To Reproduce sftpConfig.json

{
"protocol": "sftp", "host": "XX.XX.XX.XX", "username": "root", "remotePath": "/var/www/", "privateKeyFile": "D:/private.pem" }

Expected behavior Login

Desktop (please complete the following information): Win 10

It may be user error, I have read several other tickets and I am not able to get this to work. Why is there no documentation for "privateKeyFile" I can only find it in tickets, and I through trial and error I learned you are required to use a pem and not a ppk.