Answers for "gitlab set ssh key"

7

gitlab set ssh key

Generate SSH Key:
- ssh-keygen -t rsa -C "Comment for key"

Add it to gitlab:
- cat ~/.ssh/id_rsa.pub (copy all output)
- Open web browser, go to: Gitlab > User Settings > SSH Keys
- Paste copied output in the SSH key section

Test connection:
- ssh -T [email protected] (can use private url)

Do some git stuff:
- git clone something
Posted by: Guest on September-12-2021
2

generate an ssh key pair for gitlab

ssh-keygen -t ed25519 -C "<comment>"
Posted by: Guest on May-18-2021

Browse Popular Code Answers by Language