Skip to content

Commit e4a8810

Browse files
committed
docs(readme): update
1 parent 51b83ba commit e4a8810

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -85,41 +85,41 @@ Make sure to follow the below steps while creating SSH Keys and using them.
8585
The best practice is create the SSH Keys on local machine not remote machine.
8686
Login with username specified in Github Secrets. Generate a RSA Key-Pair:
8787

88-
rsa
88+
### Generate rsa key
8989

9090
```bash
9191
ssh-keygen -t rsa -b 4096 -C "[email protected]"
9292
```
9393

94-
ed25519
94+
### Generate ed25519 key
9595

9696
```bash
9797
ssh-keygen -t ed25519 -a 200 -C "[email protected]"
9898
```
9999

100100
Add newly generated key into Authorized keys. Read more about authorized keys [here](https://www.ssh.com/ssh/authorized_keys/).
101101

102-
rsa
102+
### Add rsa key into Authorized keys
103103

104104
```bash
105105
cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
106106
```
107107

108-
ed25519
108+
### Add ed25519 key into Authorized keys
109109

110110
```bash
111111
cat .ssh/id_ed25519.pub | ssh b@B 'cat >> .ssh/authorized_keys'
112112
```
113113

114114
Copy Private Key content and paste in Github Secrets.
115115

116-
rsa
116+
### Copy rsa Private key
117117

118118
```bash
119119
clip < ~/.ssh/id_rsa
120120
```
121121

122-
ed25519
122+
### Copy ed25519 Private key
123123

124124
```bash
125125
clip < ~/.ssh/id_ed25519

0 commit comments

Comments
 (0)