ssh config
This commit is contained in:
@@ -38,6 +38,10 @@
|
|||||||
hostname = "192.168.1.110";
|
hostname = "192.168.1.110";
|
||||||
user = "root";
|
user = "root";
|
||||||
};
|
};
|
||||||
|
"gitea" = {
|
||||||
|
hostname = "192.168.1.104";
|
||||||
|
user = "john";
|
||||||
|
};
|
||||||
"hermes" = {
|
"hermes" = {
|
||||||
hostname = "192.168.1.150";
|
hostname = "192.168.1.150";
|
||||||
user = "root";
|
user = "root";
|
||||||
@@ -71,6 +75,8 @@
|
|||||||
identitiesOnly = true;
|
identitiesOnly = true;
|
||||||
identityFile = "~/.ssh/id_ed25519";
|
identityFile = "~/.ssh/id_ed25519";
|
||||||
certificateFile = "~/.ssh/id_ed25519-cert.pub";
|
certificateFile = "~/.ssh/id_ed25519-cert.pub";
|
||||||
|
addKeysToAgent = "yes";
|
||||||
|
forwardAgent = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(lib.mkIf (config.profile == "work") {
|
(lib.mkIf (config.profile == "work") {
|
||||||
|
|||||||
Reference in New Issue
Block a user