lukasz-wronski / vscode-ftp-sync

Ftp Sync plugin for Visual Studio Code
https://marketplace.visualstudio.com/items/lukasz-wronski.ftp-sync
320 stars 85 forks source link

Cannot find keyfile on OSX #175

Open seatrout opened 7 years ago

seatrout commented 7 years ago

This may be a silly user error, but it defeats me completely.

I cannot upload to an sftp server on a raspberry pi (which runs debian jessie), getting a message that "Ftp-sync: sync error: Error: ENOENT: no such file or directory, open '/Users/acb/.shh/for_moode_id_rsa'"

This keyfile (permissions 600) works perfectly well with other ftp programs.So it can't be a straightforward permissions issue. I have restarted vscode numerous times.

{ "remotePath": "/home/pi/scripts/", "host": "moode.lan", "username": "pi", "password": xxx, "port": xxx, "secure": true, "protocol": "sftp", "uploadOnSave": false, "passive": true, "debug": true, "privateKeyPath": "/Users/acb/.shh/for_moode_id_rsa", "passphrase": null, "ignore": [ "\\.vscode", "\\.git", "\\.DS_Store" ], "generatedFiles": { "uploadOnSave": false, "extensionsToInclude": [], "path": "" } }

RedLucas commented 7 years ago

Is it possible that your path should actually be /Users/acb/.ssh/for_moode_id_rsa instead?