How to solve the problem of UNPROTECTED PRIVATE KEY FILE?
1 | F:\> ssh -i "id_rsa" -p 2251 ??@??.com |
So I went home and tested it with my old computer:
An error message appeared:
ssh: The term 'ssh' is not recognized as the name of a cmdlet, function, script file, or operable programChecked whether OpenSSH was installed through
Get-WindowsCapability -Online | ? Name -like 'OpenSSH*', and found that Windows7 system does not natively support OpenSSHTried to solve it by installing
Git Bash, butUnable to locate the program input point GetSystemTimePreciseAsFileTime on the dynamic link library KERNEL32.dllTried
Releaseon theOpenSSHofficial website, and found that it could not be compiled because theapi-ms-win-core-file-l1-1-0.dllfile was missing in the computerCygwinofficial website found that it supportsunsupported Windows version, https://cygwin.com/install.htmlWin+R->cmd->setup-x86_64.exe --allow-unsupported-windows --site http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2024/01/30/231215 --no-verifySuccessfully run Cygwin, set up the Tsinghua University mirror source, https://mirrors.tuna.tsinghua.edu.cn/cygwin/, select
openssh, and install various C++ packagesIt still failed, and then I found that the key file can be used after it is removed from the USB drive. . .