Compare commits
2 Commits
c442e84e11
...
432453304e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
432453304e | ||
|
|
a7eebbc8c8 |
@@ -11,9 +11,18 @@
|
||||
{
|
||||
"*" = {
|
||||
user = "john";
|
||||
forwardAgent = true;
|
||||
serverAliveInterval = 60;
|
||||
serverAliveCountMax = 2;
|
||||
|
||||
# From the help text about the deprecation of the default config:
|
||||
forwardAgent = false;
|
||||
addKeysToAgent = "no";
|
||||
compression = false;
|
||||
serverAliveInterval = 0;
|
||||
serverAliveCountMax = 3;
|
||||
hashKnownHosts = false;
|
||||
userKnownHostsFile = "~/.ssh/known_hosts";
|
||||
controlMaster = "no";
|
||||
controlPath = "~/.ssh/master-%r@%n:%p";
|
||||
controlPersist = "no";
|
||||
};
|
||||
}
|
||||
(lib.mkIf (config.profile == "personal") {
|
||||
@@ -57,6 +66,12 @@
|
||||
hostname = "192.168.1.129";
|
||||
user = "root";
|
||||
};
|
||||
"*.john-stream.com" = {
|
||||
user = "john";
|
||||
identitiesOnly = true;
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
certificateFile = "~/.ssh/id_ed25519-cert.pub";
|
||||
};
|
||||
})
|
||||
(lib.mkIf (config.profile == "work") {
|
||||
"ubuntu-nvidia" = {
|
||||
|
||||
Reference in New Issue
Block a user