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