File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -85,41 +85,41 @@ Make sure to follow the below steps while creating SSH Keys and using them.
8585The best practice is create the SSH Keys on local machine not remote machine.
8686Login with username specified in Github Secrets. Generate a RSA Key-Pair:
8787
88- rsa
88+ ### Generate rsa key
8989
9090``` bash
9191ssh-keygen -t rsa -b 4096 -C " your_email@example.com"
9292```
9393
94- ed25519
94+ ### Generate ed25519 key
9595
9696``` bash
9797ssh-keygen -t ed25519 -a 200 -C " your_email@example.com"
9898```
9999
100100Add 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
105105cat .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
111111cat .ssh/id_ed25519.pub | ssh b@B ' cat >> .ssh/authorized_keys'
112112```
113113
114114Copy Private Key content and paste in Github Secrets.
115115
116- rsa
116+ ### Copy rsa Private key
117117
118118``` bash
119119clip < ~ /.ssh/id_rsa
120120```
121121
122- ed25519
122+ ### Copy ed25519 Private key
123123
124124``` bash
125125clip < ~ /.ssh/id_ed25519
You can’t perform that action at this time.
0 commit comments