How to get to .ssh path on macOS?
You might need to create the folder first. For this, open Terminal and run

mkdir ~/.ssh; chmod 700 ~/.ssh


Also, when entering ~/.ssh in the dialog shown after pressing Shift-Cmd-G it's important to enter the string without the "":