mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-21 16:31:22 +02:00
feat: add sshconfig for k8s masters
This commit is contained in:
@@ -41,6 +41,24 @@
|
|||||||
Host s500plus
|
Host s500plus
|
||||||
HostName 192.168.5.174
|
HostName 192.168.5.174
|
||||||
Port 22
|
Port 22
|
||||||
|
|
||||||
|
Host k8s-main
|
||||||
|
HostName 192.168.5.181
|
||||||
|
ForwardAgent yes
|
||||||
|
IdentityFile ~/.ssh/romantic
|
||||||
|
IdentitiesOnly yes
|
||||||
|
|
||||||
|
Host k8s-data1
|
||||||
|
HostName 192.168.5.182
|
||||||
|
ForwardAgent yes
|
||||||
|
IdentityFile ~/.ssh/romantic
|
||||||
|
IdentitiesOnly yes
|
||||||
|
|
||||||
|
Host k8s-data2
|
||||||
|
HostName 192.168.5.183
|
||||||
|
ForwardAgent yes
|
||||||
|
IdentityFile ~/.ssh/romantic
|
||||||
|
IdentitiesOnly yes
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user