id_rsa.pub is empty when created by ssh-keygen -t rsa id_rsa.pub is empty when created by ssh-keygen -t rsa unix unix

id_rsa.pub is empty when created by ssh-keygen -t rsa


I met the same problem because there is no disk space left on my machine.

Just delete some files and try again.

Hope it will be helpful.