sshd on port 42666 instead of 22

This commit is contained in:
Stefan Bethke 2023-07-30 13:52:53 +02:00
commit 8de6abd4bd
2 changed files with 5 additions and 2 deletions

View file

@ -17,12 +17,14 @@ Verify that the settings at the beginning of the script are suitable to the clus
| `NAME` | `chaos-${OS}-tmpl` | name of the template |
| `BRIDGE` | `vmbr0,tag=208` | name of the bridge to use and any parameters needed, like the VLAN tag |
### User Account and `authorized_keys`
### User Account, ssh, and `authorized_keys`
cloud-init will create a user `chaos`, by default with a locked password, and authorized keys initialized.
The script expects `authorized_keys` to be in the current directory. Copy the correct contents from the [appropriate repository](https://gitlab.hamburg.ccc.de/ccchh/infrastructure-authorized-keys).
`sshd` has been configure to listen on port 42666 instead of 22.
### Run the Script
```shell