[問題] SSH keygen

看板Linux作者 (.)時間12年前 (2013/03/12 08:05), 編輯推噓2(200)
留言2則, 2人參與, 最新討論串1/1
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 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 204.96.168.3 ※ 編輯: sean72 來自: 204.96.168.3 (03/12 08:06)

03/12 10:33, , 1F
ssh-keygen產生id_rsa之後 用ssh-copy-id
03/12 10:33, 1F

03/12 16:58, , 2F
find ~/ -name id_rsa 找看看
03/12 16:58, 2F
文章代碼(AID): #1HFd5Lj- (Linux)