wildcard match block for john-stream.com hosts with a cert
This commit is contained in:
@@ -66,6 +66,12 @@
|
|||||||
hostname = "192.168.1.129";
|
hostname = "192.168.1.129";
|
||||||
user = "root";
|
user = "root";
|
||||||
};
|
};
|
||||||
|
"*.john-stream.com" = {
|
||||||
|
user = "john";
|
||||||
|
identitiesOnly = true;
|
||||||
|
identityFile = "~/.ssh/id_ed25519";
|
||||||
|
certificateFile = "~/.ssh/id_ed25519-cert.pub";
|
||||||
|
};
|
||||||
})
|
})
|
||||||
(lib.mkIf (config.profile == "work") {
|
(lib.mkIf (config.profile == "work") {
|
||||||
"ubuntu-nvidia" = {
|
"ubuntu-nvidia" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user