feat: troubleshooting section in hacking docs with publickey perm denied
ci/woodpecker/push/woodpecker Pipeline failed Details

tos-reminder
Aravinth Manivannan 2022-07-09 11:56:25 +05:30
parent 3ecd2289dc
commit e8956ad068
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 21 additions and 0 deletions

View File

@ -101,3 +101,24 @@ And provide information requested
```bash
make
```
## Troubleshooting
### Permission denied (publickey) in `make env`
`make env` runs `./integration/ci.sh init` which bootstraps a local
Gitea instance with some repositories for running tests. It also adds a
deploy SSH key, with read/write access to those repositories.
Please ensure the following:
1. The private key at [tests/fleet-deploy-key](../tests/fleet-deploy-key)
has `600` permissions. If not:
```bash
chmod 600 tests/fleet-deploy-key
```
2. The Gitea instance listens at port 22, ensure it is listening on that
port. This can be verified by checking for orphan Gitea instances
and/or SSH daemons on that port.(TODO: listen SSH on different port)