我运行以下SSH命令来创建我的rsa密钥,但我不知道文件的创建位置
drlloyd@DIS-7L79KF1 ~/.ssh
$ ssh-keygen -t rsa -C "myemail@gmail.com"
Generating public/private rsa key pair.
Enter file in which to save the key (/f/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /f/.ssh/id_rsa.
Your public key has been saved in /f/.ssh/id_rsa.pub.
I removed the rsa fingerprint
Run Code Online (Sandbox Code Playgroud)
id_rsa.pub文件在哪里创建?
id_rsa.pub位于/f/.ssh/id_rsa.pub
编辑:没有意识到你在Windows上.键入以下内容以获取id_rsa.pub的内容
cd /f/.ssh/
cat id_rsa.pub
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
53160 次 |
| 最近记录: |