After installing git on mac, there is no ~/.shh, and an error is reported cd: no such file or directory: /Users/xx/.ssh

After installing git, you need to generate a key. When you enter ~/.ssh, it prompts cd: no such file or directory: /Users/libin/.ssh

At this time, use the key generation command directly, replace
ssh-keygen -t rsa -C "dd"
dd with your own mailbox or logo.
After you press Enter all the way, you can create successfully
Insert picture description here

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_14920377/article/details/107524599