I launched ssh-keygen, answered all questions and it reported that keys were successfully generated, but files are empty. Why?
~ > ssh-keygen -C "my key to github"
Generating public/private rsa key pair.
Enter file in which to save the key (/home/zubba/.ssh/id_rsa): id_github
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in id_github.
Your public key has been saved in id_github.pub.
The key fingerprint is:
83:73:78:8b:bb:dc:bb:a8:d7:b0:b0:fa:51:30:fd:55 my key to github
The key's randomart image is:
+--[ RSA 2048]----+
| E |
| . . |
| o . . |
| o + . |
| = S |
| ...= o |
| .o.+. |
| .oo+. |
| .ooo=.+o |
+-----------------+
~ > ls -l .ssh
итого 8,0K
-rw------- 1 zubba zubba 399 2012-01-10 18:56 authorized_keys
-rw------- 1 zubba zubba 399 2012-01-10 18:56 id_rsa.pub
-rw------- 1 zubba zubba 0 2012-01-18 20:28 id_github
-rw-r--r-- 1 zubba zubba 0 2012-01-18 20:28 id_github.pub
~ >
You started ssh-keygen in $HOME. The files get created there:
I guess the files in .ssh/ are old ones?