21 lines
687 B
Plaintext
21 lines
687 B
Plaintext
Match User coulobre-mail-archive-backup,coulobre-mail-archive-restore
|
|
AuthenticationMethods publickey
|
|
PubkeyAuthentication yes
|
|
PasswordAuthentication no
|
|
KbdInteractiveAuthentication no
|
|
AuthorizedKeysFile /etc/ssh/coulobre-node-keys/%u
|
|
AuthorizedKeysCommand none
|
|
TrustedUserCAKeys none
|
|
DisableForwarding yes
|
|
PermitTunnel no
|
|
PermitTTY no
|
|
PermitUserRC no
|
|
|
|
Match User coulobre-mail-archive-backup
|
|
ForceCommand /usr/bin/socat -t 1810 STDIO UNIX-CONNECT:/run/coulobre-mail-archive-backup.sock
|
|
|
|
Match User coulobre-mail-archive-restore
|
|
ForceCommand /usr/bin/socat -t 1810 STDIO UNIX-CONNECT:/run/coulobre-mail-archive-restore.sock
|
|
|
|
Match all
|