Generate SSH kyes for websupport gitlab
Generate SSH kyes for websupport gitlab
1
2
3
4
5
6
7
ssh-keygen -t rsa -b 4096 -f ~/.ssh/websupport-ssh -C "toth.janci@gmail.com"
git remote add sshorigin git@gitlab.websupport.sk:linuxinuse/arch-dotfiles.git
git add -f <some-file>
git commit -m "Adding some file: <some-file>"
git push sshorigin master
Please setup ‘’~/.ssh/config’’ file
1
2
3
4
5
6
7
8
9
10
11
vim ~/.ssh/config
...
# linuxinuse account
Host gitlab.websupport.sk
HostName gitlab.websupport.sk
User git
IdentitiesOnly yes
IdentityFile ~/.ssh/websupport-ssh
...
:wq!
This post is licensed under CC BY 4.0 by the author.
