Add ssh to gitlab
This commit is contained in:
4
ssh/config
Normal file
4
ssh/config
Normal file
@@ -0,0 +1,4 @@
|
||||
Host gitlab.com
|
||||
IdentityFile ~/.ssh/id_gitlab
|
||||
IdentitiesOnly yes
|
||||
AddKeysToAgent 8h
|
||||
2
ssh/gen-gitlab-key.sh
Executable file
2
ssh/gen-gitlab-key.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
ssh-keygen -t ed25519 -a 100 -f ~/.ssh/id_gitlab -C "jyelon@gmail.com"
|
||||
Reference in New Issue
Block a user