Score:0

No such file or directory when attempting to save the key

de flag

I am attempting to create a new ssh key for my new linux server on my MacOS and I am wondering why I am getting the following error:

➜  Projects ssh-keygen -t rsa -b 4096
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/username/.ssh/id_rsa): .ssh/1st_key
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Saving key ".ssh/1st_key" failed: No such file or directory
Score:0
at flag

You actually don't need to specify a folder, it will automatically save it in .ssh in your home dir. It only asks for a filename (that does not contain . or /)

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.