How to get to .ssh path on macOS?

Solution 1:

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 "":

enter image description here