I got stuck at “Project: Your First Rails Application” section. I run the command
ssh-keygen -C email@example.com, and everything seems to be fine, console informs that my identification has been saved in
/root/.ssh/id_rsa, as well as my key which is at
/root/.ssh/id_rsa.pub. After that it gives me a “randomart image”.
After that, when I run
cat ~/.ssh/id_rsa.pub for the console to show me my SSH key, it returns me the message
cat: /home/matias/.ssh/id_rsa.pub: No such file or directory.
I cd into /, run ls there and there’s no .ssh folder. If I try to cd into /.ssh, console returns “No such file or directory” again.
Apparently the command
ssh-keygen -C firstname.lastname@example.org is not creating the folder, although it says the operation was succesful after running it.
I’m doing all of that logged in as root user, so that shouldn’t be the problem. How can I proceed from, here?
Thanks in advance.