LoginSignup
0
0

More than 5 years have passed since last update.

Gitlab

Posted at

SSH

gitlabでパスワードを毎回聞かれる件

Kobito.ob9iVM.png

bash
$ git remote set-url origin <②の値>
bash
$ ssh-keygen -t rsa -C <registered@email.address>
$ cd ~/.ssh
$ mv id_rsa gitlab_rsa
$ mv id_rsa.pub gitlab_rsa.pub
~/.ssh/config
Host gitlab.com↲                                                                
    HostName gitlab.comUser git↲                                                                     
    Port 22↲                                                                      
    IdentityFile ~/.ssh/gitlab_rsa↲                                               
    TCPKeepAlive yes↲                                                             
    IdentitiesOnly yes↲         

Kobito.9R7iHR.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0