Mac computer use: Open the file in Mac computer above ssh

In Git use, or involved there is a generation Mac computers native ssh file when it comes to how to find and open the way ssh file, in general, ssh folder is hidden, need to open ssh file from the command line .

But sometimes due to some reason or circumstances, the need for new or re-generate ssh key generate ssh key Git, but they can not find id_rsa or id_rsa.pub files under Mac computers ssh file.

In fact, the Mac ssh open file method is very simple, only need to operate inside the terminal on the line, and only need to enter a line of code on the line.

Specific steps are as follows:

1, can not find the file ssh By default, because default is hidden;

2, through the line to open the file ssh command terminal;

Enter commands directly inside the terminal lines: open ~ / .ssh // note the space

Guess you like

Origin blog.csdn.net/CC1991_/article/details/103879045