在旧版本的Windows中,只需打开"控制面板",选择"系统"小程序,选择"高级"选项卡,然后单击"环境变量"按钮.作为普通用户,您可以编辑"用户变量",但不能编辑"系统变量".
在Windows Server 2008 R2中,如果我尝试单击"系统"小程序中的"高级系统设置"选项,则会提示输入管理员密码.
我想使用 GitHub 和多个帐户。我正在关注本教程,我需要为我们的第二个 GitHub 帐户生成一个唯一的 SSH 密钥并遇到一个问题:
保存密钥“~/.ssh/id_rsa_nettuts”失败:没有那个文件或目录
有一个非常相似的答案,而答案都是窗口并且不起作用。
代码如下:
$ ls
id_rsa id_rsa.pub id_rsa_nettuts known_hosts
$ ssh-keygen -t rsa -C "houReal@gmail.com"
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/hou/.ssh/id_rsa): ~/.ssh/id_rsa_nettuts
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Saving key "~/.ssh/id_rsa_nettuts" failed: No such file or directory
$
Run Code Online (Sandbox Code Playgroud)
提前谢谢了。