See the ssh-keygen man page for more details.
有关详细内容,请参见ssh - keygen手册。
For instructions, see the SSH and ssh-keygen man pages.
具体步骤见ssh和ssh - keygen手册页。
Ssh-keygen generates two files: id_dsa (the private key) and id_dsa.pub (the public key).
ssh - keygen生成两个文件:id_dsa(私钥)和id_dsa . pub(公钥)。
If you don't supply a passphrase, then ssh-keygen will generate keys which are not encrypted!
如果您不提供密码短语,那么ssh - keygen会生成一个未加密的密钥。
To create the public or private key, you need to use ssh-keygen, specifying the type of key encryption.
要创建公钥或私钥,您需要使用ssh-keygen 来指定密钥加密的类型。
Even ssh-keygen command will accept the empty passphrase, in which case, private-key file will not be encrypted.
尽管ssh - keygen命令可以接受空的密码,但是在这种情况下私有密钥文件不加密。
An interesting feature of ssh-keygen is that it will allow you to simply press enter when prompted for a passphrase.
ssh - keygen的一个有趣特性是,您可以在提示输入密码短语时直接按回车键。
ssh-keygen -f /tmp/key -t dsa will give you a private key in a file called key and a public key in a file called key.pub.
ssh-keygen -f /tmp/key-tdsa可以在文件 key 中生成一个私钥,在文件 key.pub 中生成一个公钥。
Because the.ssh directory which ssh-keygen creates is a hidden "dot" directory, pass the -a option to the ls command to view the newly created directory.
因为ssh - keygen创建的.ssh目录是一个隐藏的“点”目录,所以为了查看这个新创建的目录,需要将- a选项传递给ls命令。
Because the.ssh directory which ssh-keygen creates is a hidden "dot" directory, pass the -a option to the ls command to view the newly created directory.
因为ssh - keygen创建的.ssh目录是一个隐藏的“点”目录,所以为了查看这个新创建的目录,需要将- a选项传递给ls命令。
应用推荐