Commit 840357a6 by Tom Laudeman

add ssh key info

parent bcc4022d
Create an ssh key specifically and only for gitlab, on the local (non-gitlab) machine:
```
ssh-keygen -t rsa -f gitlab
```
Add a stanza for gitlab to your ~/.ssh/config file:
```
Host gitlab gitlab.iath.virginia.edu
user git
Hostname gitlab.iath.virginia.edu
IdentityFile ~/.ssh/gitlab
EscapeChar none
```
Note that the key file name in the -f arg is "gitlab" which matches the IdentityFile line in the config file.
The default ssh-keygen directory is ~/.ssh/
Create the repo on gitlab. (log in, create it in either your space or snac's space, and then copy the URL for
cloning via ssh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment