Permission denied
monolithMktg opened this issue · 0 comments
Describe the bug
Permission Denied Error Message - Cant access my remote account. -
Expected behavior
Access to my remote account. Works well with Filezilla
Desktop (please complete the following information):
OS: Windows 10
VSCode Version 1.65.1
Extension Version 1.12.10
This is my config:
{ "name": "My site", "host": "the_host_ip_address", "protocol": "sftp", "port": 22, "username": "username", "privateKeyPath": "/Users/The Man/.ssh/myPvtSSH", "passphrase": "the_passphrase", "remotePath": "/", "uploadOnSave": true }
This is the error I am getting:
[04-09 00:45:50] [info] config at c:\Users\Al Khan\Desktop\Remote {"remotePath":"/","uploadOnSave":true,"downloadOnOpen":false,"ignore":[],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":false,"remoteTimeOffsetInHours":0,"name":"My site","host":"host_port","port":22,"username":"******","privateKeyPath":"/Users/The Man/.ssh/myPvtSSH","passphrase":"******"} [04-09 00:57:09] [error] Error: Permission denied at 101 (c:\Users\Al Khan\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\SFTP.js:2618:19) at SFTP.push (c:\Users\Al Khan\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\SFTP.js:278:11) at CHANNEL_DATA (c:\Users\Al Khan\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\client.js:525:23) at 94 (c:\Users\Al Khan\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\handlers.misc.js:859:16) at Protocol.onPayload (c:\Users\Al Khan\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\Protocol.js:2025:10) at GenericDecipherNative.decrypt (c:\Users\Al Khan\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\crypto.js:1269:26) at Protocol.parsePacket [as _parse] (c:\Users\Al Khan\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\Protocol.js:1994:25) at Protocol.parse (c:\Users\Al Khan\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\Protocol.js:293:16) at Socket.<anonymous> (c:\Users\Al Khan\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\client.js:713:21) at Socket.emit (events.js:315:20) at addChunk (internal/streams/readable.js:309:12) at readableAddChunk (internal/streams/readable.js:284:9) at Socket.Readable.push (internal/streams/readable.js:223:10) at TCP.onStreamRead (internal/stream_base_commons.js:188:23) [04-09 00:58:59] [info] config at c:\Users\Al Khan\Desktop\Remote {"remotePath":"/","uploadOnSave":true,"downloadOnOpen":false,"ignore":[],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":false,"remoteTimeOffsetInHours":0,"name":"My site","host":"host_port","port":22,"username":"******","privateKeyPath":"/Users/The Man/.ssh/myPvtSSH","passphrase":"******"}
I have put placeholder texts in place of host IP, and my private key passphrase