mac下SSH克隆项目

426 阅读1分钟

mac系统克隆方式使用SSH命令

1. locating an existing SSH key pair

cat ~/.ssh/id_rsa.pub

2.Generating a new SSH key pair

ssh-keygen -t rsa -C 'your.email@example.com'

3. To copy your public SSH key to the clipboard

pbcopy < ~/.ssh/id_rsa.pub

! gitlab添加SSH key设置位置图 请看封面