首页 > 其他 > 详细

GitLab and SSH keys(add new key)

时间:2019-11-26 14:27:35      阅读:124      评论:0      收藏:0      [点我收藏+]

Generating a new SSH key pair

To generate a new SSH key pair, use the following command:
Git Bash on Windows / GNU/Linux / macOS:

ssh-keygen -t rsa -C "your.email@example.com" -b 4096

The next step is to copy the public SSH key as we will need it afterwards.
To copy your public SSH key to the clipboard, use the appropriate code below:

GNU/Linux (requires the xclip package):

xclip -sel clip < ~/.ssh/id_rsa.pub

 

GitLab and SSH keys(add new key)

原文:https://www.cnblogs.com/Asatic/p/11934745.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!