-
Notifications
You must be signed in to change notification settings - Fork 802
Open
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Steps to reproduce
PS C:\Users\jy> C:\Users\jy\scoop\apps\openssh\current\ssh -V
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
PS C:\Users\jy> C:\Users\jy\scoop\apps\openssh\current\ssh -i ./gcp-ed25519 [email protected]
Load key "./gcp-ed25519": invalid format
[email protected]: Permission denied (publickey).
I can connect to server with this key file in wsl ssh and xshell 7, but not windows ssh
add a newline at the end of the key make win ssh accept this file, but why? (see also: https://stackoverflow.com/a/68593742)
Expected behavior
connect successActual behavior
PS C:\Users\jy> C:\Users\jy\scoop\apps\openssh\current\ssh -i ./gcp-ed25519 [email protected]
Load key "./gcp-ed25519": invalid format
[email protected]: Permission denied (publickey).Error details
NoneEnvironment data
PS C:\Users\jy> $PSVersionTable
Name Value
---- -----
PSVersion 7.4.2
PSEdition Core
GitCommitId 7.4.2
OS Microsoft Windows 10.0.19041
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Version
9.5
Visuals
No response
newcat, MuminovicAnel, arye321, silverwind, jloper3 and 2 more