improved ssh

This commit is contained in:
Morten Olsen
2025-12-15 19:31:02 +01:00
parent 6e2564c7f7
commit a632dedc86
3 changed files with 43 additions and 3 deletions

View File

@@ -119,6 +119,42 @@ in {
identityFile = cfg.githubZeronorthKeyPath;
identitiesOnly = true;
};
# Docker server
"docker.host" = {
hostname = "docker.olsen.cloud";
user = "alice";
port = 22;
identityFile = cfg.githubPrivateKeyPath;
identitiesOnly = true;
};
# NAS server
"nas.host" = {
hostname = "192.168.20.106";
user = "morten";
port = 22;
identityFile = cfg.githubPrivateKeyPath;
identitiesOnly = true;
};
# Private MacBook
"macbook.host" = {
hostname = "192.168.3.9";
user = "morten";
port = 22;
identityFile = cfg.githubPrivateKeyPath;
identitiesOnly = true;
};
# ZN MacBook
"zn.host" = {
hostname = "192.168.3.3";
user = "morten";
port = 22;
identityFile = cfg.githubPrivateKeyPath;
identitiesOnly = true;
};
# Coder hosts (for remote development environments)
"coder.*" = mkIf cfg.enableCoder {
@@ -149,4 +185,4 @@ in {
# These public key files are used for IdentityFile references.
# The public keys tell SSH which key to request from the 1Password agent.
};
}
}