Skip to content

Commit

Permalink
Fixed quotes for ssh-keygen -N flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Apr 17, 2024
1 parent 0f7ae4f commit da7ab88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This creates a folder named :file_folder: `hostkeys` which has to be mounted to
Then you'll have to generate an **SSH key pair** for each client. For example:

```bash
ssh-keygen -t ed25519 -C myclient -N "" -f myclientkey
ssh-keygen -t ed25519 -C myclient -N '' -f myclientkey
```

This will create two files:
Expand Down
2 changes: 1 addition & 1 deletion build/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ for dir in /home/*; do
# If mkdir fails, the /ssh-client-keys directory is probably mounted in
# read-only mode
mkdir "/ssh-client-keys/$user" || continue
ssh-keygen -t ed25519 -C "$user" -N "" \
ssh-keygen -t ed25519 -C "$user" -N '' \
-f "/ssh-client-keys/$user/ssh_client_key"
fi

Expand Down

0 comments on commit da7ab88

Please sign in to comment.