Skip to content

Commit 0b7c24c

Browse files
authored
Update README.md
1 parent 1314f3f commit 0b7c24c

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,23 @@ $ docker build --no-cache --pull --build-arg ENV_UID=$(id -u) --build-arg ENV_GI
2121
$ git remote add origin_ssh [email protected]:INGV/shakemap-input-eu.git
2222
```
2323

24-
### Add `ssh_key` directory into the project folder, with valid ssh key to `push`
24+
### Add `ssh_key` directory into the project folder.
25+
Create an `ssh_key` directory with valid ssh key to `push`; the ssh key must be called `id_rsa__origin_ssh` like below:
2526
```
2627
$ ls -l ssh_key/
2728
total 12
28-
-rw------- 1 shake shake 2602 Feb 7 14:26 id_rsa
29-
-rw-r--r-- 1 shake shake 571 Feb 7 14:26 id_rsa.pub
29+
-rw------- 1 shake shake 2602 Feb 7 14:26 id_rsa__origin_ssh
30+
-rw-r--r-- 1 shake shake 571 Feb 7 14:26 id_rsa__origin_ssh.pub
3031
$
3132
```
33+
after that, create a `ssh_key/config` file with this contents:
34+
```
35+
$ cat ssh_key/config
36+
Host github.com
37+
HostName github.com
38+
PreferredAuthentications publickey
39+
IdentityFile ~/.ssh/id_rsa__origin_ssh
40+
```
3241

3342
### Run
3443
```

0 commit comments

Comments
 (0)