Unofficial community reference. Not affiliated with 37signals or the Omacom Foundation. Download Omarchy only from omarchy.org.
omarchylinux.org Unofficial field manual

omarchy setup security sshd

Set up the OpenSSH server, open the firewall, and authorize an SSH key

Present in v4.0.4 Requires sudo First seen: v4.0.0

Arguments

omarchy setup security sshd [--key=<public-key>]

Examples

omarchy-setup-security-sshd
omarchy-setup-security-sshd --key="ssh-ed25519 AAAA... user@host"

Version history

VersionPresentSummary
v3.8.4no
v4.0.0yesSet up the OpenSSH server, open the firewall, and authorize an SSH key
v4.0.1yesSet up the OpenSSH server, open the firewall, and authorize an SSH key
v4.0.2yesSet up the OpenSSH server, open the firewall, and authorize an SSH key
v4.0.3yesSet up the OpenSSH server, open the firewall, and authorize an SSH key
v4.0.4yesSet up the OpenSSH server, open the firewall, and authorize an SSH key
quattro-devyesSet up the OpenSSH server, open the firewall, and authorize an SSH key

Source

Script: bin/omarchy-setup-security-sshd at quattro-dev. Summary and arguments come from the # omarchy: metadata header in that file. Run omarchy setup security sshd --help on an Omarchy machine for the live version.