Documentation
¶
Overview ¶
Package sshd contains a flower to configure the OpenSSH sshd server.
To generate host keys, see README.
Since Ubuntu does funky modifications to the OpenSSH default file, we use as reference the OpenSSH default file, that we keep here to ease diffing with a new version.
Workflow:
- curl --output embedded/sshd_config.upstream --fail --no-progress-meter --location https://github.com/openssh/openssh-portable/raw/master/sshd_config
- first time:
- cp embedded/sshd_config.upstream embedded/sshd_config
- edit embedded/sshd_config to taste and to add template expansion
- subsequent times:
- git diff embedded/sshd_config.upstream
- if any changes in the diff, decide what to incorporate in embedded/sshd_config
Index ¶
Constants ¶
View Source
const ( SshdConfigSrc = "embedded/sshd_config" SshdConfigDst = "/etc/ssh/sshd_config" SshHostEd25519KeyDst = "/etc/ssh/ssh_host_ed25519_key" SshHostEd25519KeyPubDst = "/etc/ssh/ssh_host_ed25519_key.pub" SshHostEd25519KeyCertPubDst = "/etc/ssh/ssh_host_ed25519_key-cert.pub" )
View Source
const Name = "sshd"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flower ¶
func (*Flower) Description ¶
Click to show internal directories.
Click to hide internal directories.