fix: make sure folks know that adding a password to a ssh key will cause CI/CD to fail
This commit is contained in:
parent
347c979b35
commit
96822e7b2f
1 changed files with 5 additions and 2 deletions
|
@ -4,7 +4,7 @@ To be able to gain remote access to the Skynet.
|
||||||
|
|
||||||
``$USERNAME`` Refers to your Skynet username, for example I would replace ``$USERNAME`` with ``silver``
|
``$USERNAME`` Refers to your Skynet username, for example I would replace ``$USERNAME`` with ``silver``
|
||||||
|
|
||||||
## Create Key
|
## Prep
|
||||||
First we set up the ssh folder and create a skynet folder within it for neatness
|
First we set up the ssh folder and create a skynet folder within it for neatness
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -12,9 +12,12 @@ mkdir -f -p ~/.ssh/skynet
|
||||||
cd ~/.ssh/skynet
|
cd ~/.ssh/skynet
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Create Key
|
||||||
Now we will create the ssh key itself.
|
Now we will create the ssh key itself.
|
||||||
Location: ``$USERNAME``, your skynet username.
|
Location: ``$USERNAME``, your skynet username.
|
||||||
Password: Press Enter twice for no password on the key.
|
**Password: Press Enter twice for no password on the key.**
|
||||||
|
|
||||||
|
If you are creating this key for a CI/CD pipeline (``user_deploy*``) then adding a password will cause it to fail.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ssh-keygen -t ed25519 -C "<comment>"
|
ssh-keygen -t ed25519 -C "<comment>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue