Created Init-Container that pulls pubkeys from git, creates authorized_keys, ssh-host-keys and backup-repo folders
This commit is contained in:
parent
ac797c90f6
commit
1a8e59d773
11 changed files with 273 additions and 146 deletions
|
@ -1,27 +0,0 @@
|
|||
Port 22
|
||||
AddressFamily any
|
||||
ListenAddress 0.0.0.0
|
||||
ListenAddress ::
|
||||
|
||||
HostKey /sshkeys/host/ssh_host_rsa_key
|
||||
HostKey /sshkeys/host/ssh_host_ed25519_key
|
||||
|
||||
PermitRootLogin no
|
||||
StrictModes yes
|
||||
MaxSessions 20
|
||||
|
||||
PubkeyAuthentication yes
|
||||
AuthorizedKeysFile .ssh/authorized_keys
|
||||
|
||||
LogLevel INFO
|
||||
|
||||
PasswordAuthentication no
|
||||
ChallengeResponseAuthentication no
|
||||
UsePAM yes
|
||||
AllowAgentForwarding no
|
||||
AllowTcpForwarding no
|
||||
X11Forwarding no
|
||||
PermitTTY no
|
||||
PrintMotd no
|
||||
PermitTunnel no
|
||||
Subsystem sftp /bin/false
|
Loading…
Add table
Add a link
Reference in a new issue