Fix strict host key check error

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-01-10 13:21:55 +00:00
parent 6c618d9baa
commit 3f3254f519
3 changed files with 31 additions and 5 deletions

View File

@@ -21,7 +21,10 @@
hostname = "github.com"; hostname = "github.com";
user = "git"; user = "git";
identityFile = "${home}/.ssh/ssh_personal_ed25519_key"; identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
extraOptions.StrictHostKeyChecking = "no"; extraOptions = {
StrictHostKeyChecking = "no";
UserKnownHostsFile = "/dev/null";
};
}; };
}; };
}; };

View File

@@ -23,7 +23,10 @@
hostname = "github.com"; hostname = "github.com";
user = "git"; user = "git";
identityFile = "${home}/.ssh/ssh_personal_ed25519_key"; identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
extraOptions.StrictHostKeyChecking = "no"; extraOptions = {
StrictHostKeyChecking = "no";
UserKnownHostsFile = "/dev/null";
};
}; };
# SAS # SAS
@@ -31,14 +34,31 @@
hostname = "github.com"; hostname = "github.com";
user = "git"; user = "git";
identityFile = "${home}/.ssh/ssh_sas_ed25519_key"; identityFile = "${home}/.ssh/ssh_sas_ed25519_key";
extraOptions.StrictHostKeyChecking = "no"; extraOptions = {
StrictHostKeyChecking = "no";
UserKnownHostsFile = "/dev/null";
};
}; };
"gitlab.sas.com" = { "gitlab.sas.com" = {
hostname = "gitlab.sas.com"; hostname = "gitlab.sas.com";
user = "git"; user = "git";
identityFile = "${home}/.ssh/ssh_sas_ed25519_key"; identityFile = "${home}/.ssh/ssh_sas_ed25519_key";
extraOptions.StrictHostKeyChecking = "no"; extraOptions = {
StrictHostKeyChecking = "no";
UserKnownHostsFile = "/dev/null";
};
};
"gerrit-svi.unx.sas.com" = {
hostname = "gerrit-svi.unx.sas.com";
user = "nikara";
port = 29418;
identityFile = "${home}/.ssh/ssh_sas_ed25519_key";
extraOptions = {
StrictHostKeyChecking = "no";
UserKnownHostsFile = "/dev/null";
};
}; };
}; };
}; };

View File

@@ -21,7 +21,10 @@
hostname = "github.com"; hostname = "github.com";
user = "git"; user = "git";
identityFile = "${home}/.ssh/ssh_personal_ed25519_key"; identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
extraOptions.StrictHostKeyChecking = "no"; extraOptions = {
StrictHostKeyChecking = "no";
UserKnownHostsFile = "/dev/null";
};
}; };
}; };
}; };