Add SAS ssh aliases
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -93,16 +93,19 @@ in
|
||||
"github.com" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identityFile = [
|
||||
"${home}/.ssh/ssh_sas_ed25519_key"
|
||||
"${home}/.ssh/ssh_personal_ed25519_key"
|
||||
];
|
||||
identityFile = [ "${home}/.ssh/ssh_personal_ed25519_key" ];
|
||||
};
|
||||
|
||||
"gitlab.com" = {
|
||||
hostname = "gitlab.com";
|
||||
user = "git";
|
||||
identityFile = "${home}/.ssh/ssh_sas_ed25519_key";
|
||||
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
|
||||
};
|
||||
|
||||
"github.sas.com" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identityFile = [ "${home}/.ssh/ssh_sas_ed25519_key" ];
|
||||
};
|
||||
|
||||
"cldlgn.fyi.sas.com" = {
|
||||
@@ -146,6 +149,16 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
git.extraConfig.url = {
|
||||
"git@github.sas.com:sas-institute-rnd-product".insteadOf =
|
||||
"git@github.com:sas-institute-rnd-product";
|
||||
"git@github.sas.com:sas-institute-rnd-internal".insteadOf =
|
||||
"git@github.com:sas-institute-rnd-internal";
|
||||
"git@github.sas.com:sas-institute-rnd-pipeline-test".insteadOf =
|
||||
"git@github.com:sas-institute-rnd-pipeline-test";
|
||||
"git@github.sas.com:Nick-Karaolidis_sasinst".insteadOf = "git@github.com:Nick-Karaolidis_sasinst";
|
||||
};
|
||||
|
||||
clipbook.bookmarks = {
|
||||
"Personal SSH Key Passphrase".source = hmConfig.sops.secrets."ssh/personal/pass".path;
|
||||
"SAS SSH ED25519 Key Passphrase".source = hmConfig.sops.secrets."ssh/sas/ed25519/pass".path;
|
||||
|
@@ -55,7 +55,7 @@ in
|
||||
"gitlab.com" = {
|
||||
hostname = "gitlab.com";
|
||||
user = "git";
|
||||
identityFile = "${home}/.ssh/ssh_sas_ed25519_key";
|
||||
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user