Skip to content

Commit ffff33f

Browse files
committed
docs: update readme
1 parent 8bd4933 commit ffff33f

File tree

1 file changed

+22
-14
lines changed

1 file changed

+22
-14
lines changed

README.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -80,20 +80,28 @@ SSH Proxy Setting:
8080
* proxy_cipher - the allowed cipher algorithms. If unspecified then a sensible
8181

8282
### Setting up SSH Key
83-
Make sure to follow the below steps while creating SSH Keys and using them.
84-
* Login with username specified in Github Secrets.
85-
* Generate a RSA Key-Pair.
86-
```bash
87-
ssh-keygen -t rsa -b 4096 -C "[email protected]"
88-
```
89-
* Add newly generated key into Authorized keys. Read more about authorized keys [here](https://www.ssh.com/ssh/authorized_keys/).
90-
```bash
91-
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
92-
```
93-
* Copy Private Key content and paste in Github Secrets.
94-
```bash
95-
clip < ~/.ssh/id_rsa
96-
```
83+
84+
Make sure to follow the below steps while creating SSH Keys and using them.
85+
Login with username specified in Github Secrets. Generate a RSA Key-Pair:
86+
87+
```bash
88+
ssh-keygen -t rsa -b 4096 -C "[email protected]"
89+
```
90+
91+
Add newly generated key into Authorized keys. Read more about authorized keys [here](https://www.ssh.com/ssh/authorized_keys/).
92+
93+
```bash
94+
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
95+
```
96+
97+
Copy Private Key content and paste in Github Secrets.
98+
99+
```bash
100+
clip < ~/.ssh/id_rsa
101+
```
102+
103+
See the detail information about [SSH login without password](http://www.linuxproblem.org/art_9.html)
104+
97105
### Example
98106

99107
Executing remote ssh commands using password.

0 commit comments

Comments
 (0)