SSH keygen - Linux

Table of Contents

Ubuntu 12.04
我使用
ssh-keygen -t rsa產生key
一切都按照default
Enter file in which to save the key(/home/user/.ssh/id_rsa):

按照我搜尋的資料
應該會再/home/user/.ssh/
下面看到
id_rsa 以及 id_rsa.pub這兩個檔案才是

~/.ssh$ ls 或 ls -A
卻都只看到一個叫做 known_hosts的檔案
那請問我的id_rsa 和 id_rsa.pub呢?
如果我又執行一次ssh-keygen -t rsa 他會跟我說該檔案已存在是否要複寫
請問我該如何真的"看到"那兩個檔案?

thx

--

All Comments

Wallis avatarWallis2013-03-15
ssh-keygen產生id_rsa之後 用ssh-copy-id
Sarah avatarSarah2013-03-17
find ~/ -name id_rsa 找看看