叶@ye MINGW64 /c/Users/Administrator/.ssh $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/c/Users/叶/.ssh/id_rsa): /c/Users/Administrator/.ssh /c/Users/Administrator/.ssh already exists. Overwrite (y/n)? y Enter passphrase (empty for no passphrase): Enter same passphrase again: Saving key "/c/Users/Administrator/.ssh" failed: Is a directory
时间: 2023-07-19 17:37:29 浏览: 95
MinGW-w64 C/C++编译器+libsvm安装包.rar
5星 · 资源好评率100%
你在执行SSH密钥生成命令时,指定了保存路径为"/c/Users/Administrator/.ssh",并选择覆盖该文件夹。但是,终端提示保存密钥失败,原因是你指定的路径是一个文件夹,而不是文件。你需要指定一个文件名来保存密钥对,而不是一个文件夹。请修改保存路径为一个文件名,例如"/c/Users/Administrator/.ssh/id_rsa"。然后重新执行ssh-keygen命令来生成新的密钥对。
阅读全文