Work around some old sftp clients being shitty
This commit is contained in:
parent
b06fd3cceb
commit
d2ded37f15
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@
|
||||||
{ bits = 4096; path = "/run/secrets/ssh_host_rsa_key"; type = "rsa"; }
|
{ bits = 4096; path = "/run/secrets/ssh_host_rsa_key"; type = "rsa"; }
|
||||||
{ path = "/run/secrets/ssh_host_ed25519_key"; type = "ed25519"; }
|
{ path = "/run/secrets/ssh_host_ed25519_key"; type = "ed25519"; }
|
||||||
];
|
];
|
||||||
|
extraConfig = ''
|
||||||
|
HostKeyAlgorithms +ssh-rsa
|
||||||
|
'';
|
||||||
authorizedKeysFiles = [ "/run/secrets/authorized_keys" ];
|
authorizedKeysFiles = [ "/run/secrets/authorized_keys" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue