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:
@@ -60,7 +60,16 @@ docker run -d --name <container-name> \
|
||||
Run the setup script inside your container:
|
||||
|
||||
```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`.
|
||||
|
||||
Reference in New Issue
Block a user