Skip to content

is it possible to connect SFTP using PUTTY KEY string? #510

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

Closed
vsplcDJ25 opened this issue Jan 18, 2019 · 2 comments · Fixed by #1543
Closed

is it possible to connect SFTP using PUTTY KEY string? #510

vsplcDJ25 opened this issue Jan 18, 2019 · 2 comments · Fixed by #1543

Comments

@vsplcDJ25
Copy link

I am trying to connect SFTP using with PUTTY Key string through C# but could not able to connect to the server. received an exception while connecting to SFTP and the exception is "Invalid Private key file".
Please let me know with possible solution about using with SSH.NET.

@ghost
Copy link

ghost commented Apr 21, 2019

Convert the key to OpenSSH format using PuTTYGen. PPK files are (as far as I can tell) not supported.

@mgamache
Copy link

PPK files are not supported. Usually PPK files are derived from PEM or other files that are supported.

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

Successfully merging a pull request may close this issue.

2 participants