This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Applies common security measures for Ubuntu servers. Run it before doing the inital deploy with basecamp/kamal | |
# | |
# Afterwards, you'll only be able to SSH into the server as 'nonroot', eg. [email protected] | |
# | |
# So add this to your Kamal deploy.yml: | |
# ``` | |
# ssh: | |
# user: nonroot |