'ssh-keygen' is not an internal or external command, nor is it an executable program or batch file.

1. Find the ssh-keygen.exe installation directory. (Mine is in E:\program\git\Git\usr\bin) Open cmd, enter where git, and the installation path of git will be displayed.

2. Configure environment variables: advanced system settings "environment variables" system variables "path" to edit, paste the path where ssh-keygen.exe is located, and save it.

Win7 and win10 configuration environment variables are different when editing. Win10 has a list of details, win7 end to the end to add ";".

 

Original: https://www.cnblogs.com/chaojimali/p/12751003.html

Guess you like

Origin blog.csdn.net/cherry_vicent/article/details/114120759