{ ... }: { # https://github.com/nix-community/home-manager/blob/master/modules/programs/ssh.nix programs.ssh = { enable = true; forwardAgent = true; serverAliveInterval = 60; controlMaster = "auto"; controlPersist = "30m"; matchBlocks = { "github.com" = { hostname = "github.com"; user = "git"; forwardAgent = false; extraOptions = { preferredAuthentications = "publickey"; }; }; "github.rbx.com" = { hostname = "github.rbx.com"; user = "git"; forwardAgent = false; extraOptions = { preferredAuthentications = "publickey"; }; }; "git" = { hostname = "git.fcuny.net"; port = 422; user = "git"; forwardAgent = false; extraOptions = { preferredAuthentications = "publickey"; }; }; "home" = { hostname = "fcuny.net"; port = 422; user = "fcuny"; extraOptions = { preferredAuthentications = "publickey"; }; }; }; }; }