美文网首页
Mac 配置本地gitLab

Mac 配置本地gitLab

作者: Doubleyz | 来源:发表于2020-04-14 16:11 被阅读0次
Last login: Tue Apr 14 10:10:07 on ttys003
intest_zyy@intest-zyydeMacBook-Pro ~ % ssh-keygen -o -t rsa -b 4096 -C "zhangyongyong@intest.cn"
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/intest_zyy/.ssh/id_rsa): intest_rsa
intest_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in intest_rsa.
Your public key has been saved in intest_rsa.pub.
The key fingerprint is:
SHA256:Dw6T4txvZeY9MP2RD+C+PelkLVoGjJ+9mtyx6QUyIiY zhangyongyong@intest.cn
The key's randomart image is:
+---[RSA 4096]----+
|                 |
|                 |
|                 |
|       .   o.    |
|    . E S oo=... |
|   o o * +*oo*+o |
|    o . .=.=o.O=o|
|       .. ..+X+B.|
|       ..   **O. |
+----[SHA256]-----+
/*
输入 cat ~/.ssh/intest_rsa.pub 读取公钥
**/ 
intest_zyy@intest-zyydeMacBook-Pro ~ % cat ~/.ssh/intest_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDQIUB5+GJH5fiDtYcqsneYio4jMt3/W9Yr/JAGdReDU5GM3kIoUdxwv09nqlihPxcLTpOVA6ZlUzvlVQwVz5w8bUVBvXLUhFwdI6iWkJkLZdIgju8LOT89u2d+dYjREbnTgFTu0lxXLYFStzd3tyaPRFpPHmA3wJGOPWn10TrdDltV/DjEo8bwm4zjvIrLKjlzfUdTnOt04IuzjTHmK5cY8rDnx2vqQ/GMMLhh5WmsK1VcCYaRTGfJ+czFIthoEpvBxQl2/7+/H2WVdBMLGfqx4erfApPE4SYR0WTj6M6McP76Du8lkH8/AvzJRbixttPbU0JF2dXBbdNZq2ZwYC46yASwLfM/9jr2c0mHcY0uhQdiXS/TnXiZcCnw9D0pFI+Jymd7wiIWs8O0vsqYWoMiFHJZ8JFmoK33/SQX0S++VjeJmWLjGRY11VGC/LLnuDMKPgw5KBHBJ2VuJMlCofTJlK2SwtkLyAvY91pxhFflWV6fB2Gp5JIwTq11myEnAnLv5B74iQnk+iCMw6tto5f3Q3KnOWYcOnbV7phi7YeBQ1mb9ancLndqnxxeB+UBUaeEzma9QvIOqDPvyl2Or9w/3uE/FgBpSmvN6A5IZ61s14FMgnChcViz8C+7W5ZHH+Tdj8EVzJ2ZjT4s6nudu09sVnih7H77yt3fmcWdqC7WvQ== zhangyongyong@intest.cn
intest_zyy@intest-zyydeMacBook-Pro ~ % git config --global user.name "intest_zyy"
intest_zyy@intest-zyydeMacBook-Pro ~ % git config --global user.email "zhangyongyong@intest.cn" 
intest_zyy@intest-zyydeMacBook-Pro ~ % cd /Users/intest_zyy/Desktop/INTEST/一汽/发布版/道路试验\(20200414\)

相关文章

网友评论

      本文标题:Mac 配置本地gitLab

      本文链接:https://www.haomeiwen.com/subject/iajtvhtx.html