Closed 1nampam closed 1 year ago
Please fill in the following fields, replacing the values inside the brackets {{ }}.
{{ }}
{{ Using Puttygen PPK file version 3 not supported}}
{{ $sess = new-WinSCPSessionOption -hostname 'sftp.server.com' -Protocol sftp -SshPrivateKeyPath "c:\keys\puttyPrivateConversionsV3.pkk" -SshkKeyFingerprint $hostkey New-SCPSession -SessionOption $sess }}
{{ no error }}
{{Output: New-WinSCPSession:Exception calling "Open wiht "1"" arguments.... Unable to load key file "c:\keys\puttyPrivateConversionsV3.pkk" (Pytty key format too new)}}
{{ Script 5.17.10.0 WinSCP }}\
{{ Windows 10 Ver. 21h1, PowerShell Version 7.2.7 and Openssh 8.1.0.1 for windows( on Windows server 2022 ver. 21h2). }}
The PKK file version 3 does work with WINSCP 5.21.5 standard GUI
Sorry, i posted this on the wrong project. This issue can be close.
Please fill in the following fields, replacing the values inside the brackets
{{ }}
.Issue Description
{{ Using Puttygen PPK file version 3 not supported}}
Example
{{ $sess = new-WinSCPSessionOption -hostname 'sftp.server.com' -Protocol sftp -SshPrivateKeyPath "c:\keys\puttyPrivateConversionsV3.pkk" -SshkKeyFingerprint $hostkey New-SCPSession -SessionOption $sess }}
Expected Output
{{ no error }}
Actual Output
{{Output: New-WinSCPSession:Exception calling "Open wiht "1"" arguments.... Unable to load key file "c:\keys\puttyPrivateConversionsV3.pkk" (Pytty key format too new)}}
WinSCP-PowerShell Version
{{ Script 5.17.10.0 WinSCP }}\
Environment
{{ Windows 10 Ver. 21h1, PowerShell Version 7.2.7 and Openssh 8.1.0.1 for windows( on Windows server 2022 ver. 21h2). }}