Differences between revisions 13 and 18 (spanning 5 versions)
Revision 13 as of 2021-01-19 19:12:11
Size: 1522
Editor: naoki.koyama
Comment:
Revision 18 as of 2021-09-08 17:47:53
Size: 1713
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
 * [[https://qiita.com/redamoon/items/07e445d1fce360cb5fa3|reference site]]
Line 9: Line 10:

Some of the commands in the reference site is adjusted.
Line 15: Line 18:
please input your own mail address.
 
please input your own mail address.
Line 21: Line 25:
please enter this text
/Users/'''XXX'''/.ssh/id_rsa'''_gitlab'''
If you use Mac OSX, the example of ssh key name is
 /Users/'''XXX'''/.ssh/id_rsa'''_gitlab'''
Line 24: Line 28:
'''XXX''' is your username.  '''XXX''' is your username.
Line 31: Line 35:
I did not entered anything.
If you need a password, please enter it.
 I did not entered anything.
 If you need a password, please enter it.
Line 38: Line 42:
This command should be changed to the following.  This command should be changed to the following.
Line 40: Line 44:
chmod 600 id_rsa'''_gitlab'''  chmod 600 id_rsa'''_gitlab'''
Line 55: Line 59:
and select config with Finder application.  and select config with Finder application.
Line 59: Line 63:
Host '''git.ligo.org'''  Host '''git.ligo.org'''
Line 70: Line 74:
The '''name''' is your gitlab account name.  The '''name''' is your gitlab account name.
Line 74: Line 78:
Please open '''Setting -> Add SSH''' and paste the config file contents.  Please open '''Setting -> Add SSH''' and paste the cotents of id_rsa'''_gitlab.pub'''

how to make public git repository on git.ligo.org

Some of the commands in the reference site is adjusted.

  • Open terminal and enter this command.

cd ~/.ssh
ssh-keygen -t rsa -C adress@example.com
  • please input your own mail address.
  • Please follow the instructions on the terminal and enter information.

Enter file in which to save the key (/home/.ssh/id_rsa):

If you use Mac OSX, the example of ssh key name is

  • /Users/XXX/.ssh/id_rsa_gitlab

    XXX is your username.

Enter passphrase (empty for no passphrase):
Enter same passphrase again:
  • I did not entered anything. If you need a password, please enter it.

chmod 600 id_rsa
  • This command should be changed to the following.

    chmod 600 id_rsa_gitlab

Register your public key with GitLab

vim ~/.ssh/config
  • Please open config with terminal directory or entering this command

touch config
open .
  • and select config with Finder application.
  • Add this text in config file

    Host git.ligo.org

    • User name

      HostName git.ligo.org

      TCPKeepAlive yes

      identitiesonly yes

      identityFile ~/.ssh/id_rsa_gitlab

    The name is your gitlab account name.

  • Visit gitlab page and open our project.

    Please open Setting -> Add SSH and paste the cotents of id_rsa_gitlab.pub

KAGRA/Subgroups/MIF/Simulation/GitlabStartUp (last edited 2021-09-08 17:47:53 by KeikoKokeyama)