İçeriğe geç

Add Ssh Keys And Use It For Gitlab

How to add new ssh key to your linux (ubuntu) and use it for gitlab

berkay@berkay:/$ cat ~/.ssh/id_rsa.pub

Returns like if exist ;

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCgVVzTCvG6DI/ahwygnJF5aN935HAxQpv5z4AfcnB7af37sNLT
4+3T8SgfBCQf03Z2ngKsnNLXuA9YmAq0C8en3OpxfO2U4UgLY9HdcmHGbammGnW1Sxqjrf6ykSOJcY4g
4+klaskfljasjfksalfsalkşsUkFZr4FTxendMPsRXM/DGboY24mUlmY7kKu4ybAbH4t0A2zmnMVYNfV
J9krlrrs3leOLb00fgGgsNgeQh7p8TI9rv9JDhhzUfn6kyFdJL+sDV4kgY3t6HIn8qU0B5iWuozvjxDY
REMhQ4lOsOk+E4inK0yOh4OmYjjrqeESPUXiWekD berkayakcay.m@gmail.com

Return like if not exist; {empty}

Create New Ssh Key :

berkay@berkay:/$ eval "$(ssh-agent -s)"

Add Ssh

berkay@berkay:/$ ssh-add ~/.ssh/id_rsa

Then go to gitlab Ssh Keys menu copy key to gitlab

Tarih:How to

İlk Yorumu Siz Yapın

Bir Cevap Yazın