Fix SSH identities bug
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -29,16 +29,19 @@ in
|
||||
User git
|
||||
HostName karaolidis.com
|
||||
IdentityFile /root/.ssh/ssh_personal_ed25519_key
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host github.com
|
||||
User git
|
||||
HostName github.com
|
||||
IdentityFile /root/.ssh/ssh_sas_ed25519_key
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host gitlab.sas.com
|
||||
User git
|
||||
HostName gitlab.sas.com
|
||||
IdentityFile /root/.ssh/ssh_sas_ed25519_key
|
||||
IdentitiesOnly yes
|
||||
'';
|
||||
|
||||
knownHostsFiles =
|
||||
|
@@ -88,36 +88,42 @@ in
|
||||
hostname = "karaolidis.com";
|
||||
user = "nick";
|
||||
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"github.com" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identityFile = [ "${home}/.ssh/ssh_personal_ed25519_key" ];
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"gitlab.com" = {
|
||||
hostname = "gitlab.com";
|
||||
user = "git";
|
||||
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"github.sas.com" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identityFile = [ "${home}/.ssh/ssh_sas_ed25519_key" ];
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"cldlgn.fyi.sas.com" = {
|
||||
inherit user;
|
||||
hostname = "cldlgn.fyi.sas.com";
|
||||
identityFile = "${home}/.ssh/ssh_sas_ed25519_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"gitlab.sas.com" = {
|
||||
hostname = "gitlab.sas.com";
|
||||
user = "git";
|
||||
identityFile = "${home}/.ssh/ssh_sas_ed25519_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"gerrit-svi.unx.sas.com" = {
|
||||
@@ -125,6 +131,7 @@ in
|
||||
user = "nikara";
|
||||
port = 29418;
|
||||
identityFile = "${home}/.ssh/ssh_sas_ed25519_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"artifactlfs.unx.sas.com" = {
|
||||
@@ -132,6 +139,7 @@ in
|
||||
user = "nikara";
|
||||
port = 1339;
|
||||
identityFile = "${home}/.ssh/ssh_sas_rsa_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -10,5 +10,6 @@
|
||||
User git
|
||||
HostName karaolidis.com
|
||||
IdentityFile /root/.ssh/ssh_personal_ed25519_key
|
||||
IdentitiesOnly yes
|
||||
'';
|
||||
}
|
||||
|
@@ -44,18 +44,21 @@ in
|
||||
hostname = "karaolidis.com";
|
||||
user = "nick";
|
||||
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"github.com" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"gitlab.com" = {
|
||||
hostname = "gitlab.com";
|
||||
user = "git";
|
||||
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -10,5 +10,6 @@
|
||||
User git
|
||||
HostName karaolidis.com
|
||||
IdentityFile /root/.ssh/ssh_personal_ed25519_key
|
||||
IdentitiesOnly yes
|
||||
'';
|
||||
}
|
||||
|
@@ -43,18 +43,21 @@ in
|
||||
hostname = "karaolidis.com";
|
||||
user = "nick";
|
||||
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"github.com" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
"gitlab.com" = {
|
||||
hostname = "gitlab.com";
|
||||
user = "git";
|
||||
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -10,5 +10,6 @@
|
||||
User git
|
||||
HostName karaolidis.com
|
||||
IdentityFile /root/.ssh/ssh_personal_ed25519_key
|
||||
IdentitiesOnly yes
|
||||
'';
|
||||
}
|
||||
|
@@ -10,5 +10,6 @@
|
||||
User git
|
||||
HostName karaolidis.com
|
||||
IdentityFile /root/.ssh/ssh_personal_ed25519_key
|
||||
IdentitiesOnly yes
|
||||
'';
|
||||
}
|
||||
|
Reference in New Issue
Block a user