Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read the private key #319

Open
sed76 opened this issue Jul 22, 2024 · 0 comments
Open

Cannot read the private key #319

sed76 opened this issue Jul 22, 2024 · 0 comments

Comments

@sed76
Copy link

sed76 commented Jul 22, 2024

Hello and thank you for the client.

However, there's trouble with it. Please help me with the following:

Freshly installed this plugin to vscode. (i'm using MacOS). When I try provide either privateKeyPath or privateKey in config, it says

[2024-07-22 17:33:53] Cannot read the private key: undefined
or simply do nothing.
This private key I always use for SFTP access. Other clients using this key is connects perfectly.

Config is:

[
	{
		"name": "testserver",
		"host": "**** OBFUSCATED IP ADDRESS ****",
		"port": 22,
		"type": "sftp",
		"username": "webmaster",
		"path": "/home/webmaster",
		"privateKeyPath":  "/Users/sed/.ssh/id_rsa",
		"debug": true,
		"autosave": true,
		"confirm": true
	}
]

How can I connect to the server by SFTP method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant