docs: add chmod +x instruction before executing scripts

Users should explicitly grant execute permission to downloaded scripts
for transparency and security best practices.
This commit is contained in:
shokollm
2026-03-30 03:42:53 +00:00
parent 1e2d88d811
commit 0563e7bced
2 changed files with 11 additions and 1 deletions

View File

@@ -60,7 +60,16 @@ docker run -d --name <container-name> \
Run the setup script inside your container: Run the setup script inside your container:
```bash ```bash
curl -fsSL https://raw.githubusercontent.com/shoko/kugetsu/main/skills/kugetsu/scripts/sshd-setup.sh | bash -s -- <username> curl -fsSL https://raw.githubusercontent.com/shoko/kugetsu/main/skills/kugetsu/scripts/sshd-setup.sh -o sshd-setup.sh
chmod +x sshd-setup.sh
bash sshd-setup.sh <username>
```
Or if you have cloned the repository:
```bash
chmod +x skills/kugetsu/scripts/sshd-setup.sh
bash skills/kugetsu/scripts/sshd-setup.sh <username>
``` ```
Replace `<username>` with your preferred username, or omit to use default `kugetsu`. Replace `<username>` with your preferred username, or omit to use default `kugetsu`.

View File

@@ -201,6 +201,7 @@ To access kugetsu from a remote machine, SSH setup is required.
Run the SSH setup script inside your container: Run the SSH setup script inside your container:
```bash ```bash
chmod +x skills/kugetsu/scripts/sshd-setup.sh
bash skills/kugetsu/scripts/sshd-setup.sh <username> bash skills/kugetsu/scripts/sshd-setup.sh <username>
``` ```