Chinaunix

标题: 生成密钥文件的过程 [打印本页]

作者: cg111    时间: 2006-01-16 20:35
标题: 生成密钥文件的过程

               
               
                 ssh-keygen -b 1024 -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/cg/.ssh/id_rsa): test
test already exists.
Overwrite (y/n)? n
cg@myhome:~$ ssh-keygen -b 1024 -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/cg/.ssh/id_rsa): test1
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in test1.
Your public key has been saved in test1.pub.
The key fingerprint is:
******************* cg@myhome
               
               
               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/8235/showart_68379.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2