Cat ~/.ssh/id_rsa.pub "No such file or directory"

Tried to add an SSH key as the notification bar says:
"You won't be able to pull or push project code via SSH until you add an SSH key to your profile"
But in the first step I got stuck, got a message:

cat: /Users/myusername/.ssh/id_rsa.pub: No such file or directory

Using OSX
thanks

Excuse me for the question but, do you really let myusername as username in the command ?

You have to replace by your username.

If the user path is correct, you probably do not created any SSH key ?

ssh-keygen

Hi remil, thanks, sorted it out :slight_smile: ,
just needed to skip the first step and start from step 2
:thumbsup:

yes, the “myusername” was just a placeholder, thanks