ssh: Fix issues with trying different keys
This commit is contained in:
parent
86ce0ed9e6
commit
98c27ce238
@ -23,23 +23,15 @@
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
IdentitiesOnly yes
|
||||
'';
|
||||
includes = [
|
||||
"config.d/*"
|
||||
];
|
||||
matchBlocks = let
|
||||
sshPort = 1847;
|
||||
in {
|
||||
ayame = {
|
||||
port = sshPort;
|
||||
hostname = "78.46.184.48";
|
||||
user = "alexander";
|
||||
identityFile = "~/.ssh/polynom.me_ayame";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
taihou = {
|
||||
port = 22;
|
||||
hostname = "78.47.22.95";
|
||||
user = "root";
|
||||
identityFile = "~/.ssh/hetzner";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"git.polynom.me" = {
|
||||
port = 2222;
|
||||
user = "gitea";
|
||||
|
Loading…
Reference in New Issue
Block a user