查看完整版本: 如何在 ubuntu 下產生 ssh key


kkman 2013-12-23 17:27

如何在 ubuntu 下產生 ssh key

如果要在 ubuntu 底下產生 ssh key
可以這樣做~~

# ssh-keygen -t rsa

Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.


上面的 passphrase 留空就可以了
產生的 public SSH key 會在 ~/.ssh/id_rsa.pub

這樣就搞定啦~~
頁: [1]
查看完整版本: 如何在 ubuntu 下產生 ssh key