New-SShSession : using keys - Key exchange negotiation failed
See original GitHub issueHello, I am having a hard time trying to use key to authenticate… So far:
New-SShSession : Invalid private key file
Means you can’t use putty key generator format. May be added as text “(ensure you are not using only open SSH format)”.
New-SShSession : Key ‘OPENSSH’ is not supported When trying to use key, I tried from Putty to create the new OpenSSH format.
New-SShSession : Key exchange negotiation failed.
Using standard open SSH export format, I am stuck with this one.
If using key through Putty and native .ppk format, connection works.
I tried verbose mode for this cmdlet, but not providing more info.
On the other side, after setting sshd in debug log, I only see this:
==> secure <== Mar 20 14:53:18 radius sshd[29875]: debug1: SSH2_MSG_NEWKEYS sent Mar 20 14:53:18 radius sshd[29875]: debug1: expecting SSH2_MSG_NEWKEYS
Can someone help ? Thanks in advance,
Issue Analytics
- State:
- Created 4 years ago
- Comments:22 (10 by maintainers)
Top GitHub Comments
Yep, as soon as SSH.Net http://ssh.net/ fixes some stuff in the next 2 weeks I will have an updated version that should support the newer format
@odon-noda : you can only use old format for keys as far as I know