mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
ssh config
This commit is contained in:
parent
0f9ab5c7dc
commit
0e6504c54b
@ -14,10 +14,23 @@
|
||||
then [2226]
|
||||
else throw "Please add ssh port here"
|
||||
);
|
||||
# Use authorized keys only.
|
||||
settings.PasswordAuthentication = false;
|
||||
|
||||
# Enabling this is required for commands such as sftp and sshfs.
|
||||
allowSFTP = false;
|
||||
|
||||
settings = {
|
||||
# Use authorized keys only.
|
||||
PasswordAuthentication = false;
|
||||
|
||||
#
|
||||
# https://infosec.mozilla.org/guidelines/openssh
|
||||
#
|
||||
Macs = ["hmac-sha2-512-etm@openssh.com"];
|
||||
Ciphers = ["chacha20-poly1305@openssh.com"];
|
||||
# TODO Use 25519 instead of RSA key pairs
|
||||
#KexAlgorithms = ["curve25519-sha256@libssh.org"];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
# TODO replace authorizedKeys in all .nix files with authorizedKeyFiles
|
||||
|
Loading…
Reference in New Issue
Block a user