-
-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,20 +80,28 @@ SSH Proxy Setting: | |
* proxy_cipher - the allowed cipher algorithms. If unspecified then a sensible | ||
|
||
### Setting up SSH Key | ||
Make sure to follow the below steps while creating SSH Keys and using them. | ||
* Login with username specified in Github Secrets. | ||
* Generate a RSA Key-Pair. | ||
```bash | ||
ssh-keygen -t rsa -b 4096 -C "[email protected]" | ||
``` | ||
* Add newly generated key into Authorized keys. Read more about authorized keys [here](https://www.ssh.com/ssh/authorized_keys/). | ||
```bash | ||
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys | ||
``` | ||
* Copy Private Key content and paste in Github Secrets. | ||
```bash | ||
clip < ~/.ssh/id_rsa | ||
``` | ||
|
||
Make sure to follow the below steps while creating SSH Keys and using them. | ||
Login with username specified in Github Secrets. Generate a RSA Key-Pair: | ||
|
||
```bash | ||
ssh-keygen -t rsa -b 4096 -C "[email protected]" | ||
``` | ||
|
||
Add newly generated key into Authorized keys. Read more about authorized keys [here](https://www.ssh.com/ssh/authorized_keys/). | ||
|
||
```bash | ||
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys | ||
``` | ||
|
||
Copy Private Key content and paste in Github Secrets. | ||
|
||
```bash | ||
clip < ~/.ssh/id_rsa | ||
``` | ||
|
||
See the detail information about [SSH login without password](http://www.linuxproblem.org/art_9.html) | ||
|
||
### Example | ||
|
||
Executing remote ssh commands using password. | ||
|