Commit c519f18
Changed files (1)
home
base
tui
home/base/tui/ssh.nix
@@ -1,5 +1,20 @@
{...}: {
programs.ssh = {
enable = true;
+ addKeysToAgent = "yes";
+
+ matchBlocks = {
+ "github.com" = {
+ # "Using SSH over the HTTPS port for GitHub"
+ # "(port 22 is banned by some proxies / firewalls)"
+ hostname = "ssh.github.com";
+ port = 443;
+ user = "git";
+
+ # Specifies that ssh should only use the identity file explicitly configured above
+ # required to prevent sending default identity files first.
+ identitiesOnly = true;
+ };
+ };
};
}