dotfiles/home/common/ssh.nix

15 lines
297 B
Nix
Raw Permalink Normal View History

2024-08-02 11:12:36 +02:00
{ ... }:
{
programs.ssh = {
enable = true;
addKeysToAgent = "yes";
compression = false;
controlMaster = "auto";
controlPath = "\${XDG_RUNTIME_DIR}/ssh_control:%h:%p:%r";
controlPersist = "15m";
extraConfig = ''
PreferredAuthentications publickey
'';
};
}