From c2e016919a967a87f8760940732eede5790d94a4 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 6 May 2024 23:14:41 +0200 Subject: [PATCH] dataport: set ssh-config --- .ssh/config | 59 +++++++++++++++++------------------------------------ 1 file changed, 19 insertions(+), 40 deletions(-) diff --git a/.ssh/config b/.ssh/config index 3e8f16f..f03fd95 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,47 +1,26 @@ -### ssh-agent +StrictHostKeyChecking no IgnoreUnknown UseKeychain UseKeychain yes AddKeysToAgent yes +LogLevel ERROR +SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL -### keys -StrictHostKeyChecking=accept-new -# https://stackoverflow.com/questions/21383806/how-can-i-force-ssh-to-accept-a-new-host-fingerprint-from-the-command-line +Host l*.mgmt.dpaor.org l*.landsh.de l*.stadt.hamburg.de l*.hb-netz.de l*.lsa-net.de 10.62.* + User grotemi-admin@mgmt.dpaor.org -### mgrote.net -Host fileserver3.mgrote.net -Host ansible2.mgrote.net -Host docker10.mgrote.net -Host pve5.mgrote.net -Host forgejo.mgrote.net -Host ldap.mgrote.net -Host pve5-test.mgrote.net -Host vm-test-2204.mgrote.net -Host pbs-test.mgrote.net -Host pbs.mgrote.net -Host blocky.mgrote.net -Host *.mgrote.net - IdentityFile ~/.ssh/mgrote.net +Host *.dpaor.net *.dpaorinp.de 10.61.* 10.65.* + User grotemi-admin@dpaor.net -### Ubiquity -Host nanohd-wohnzimmer.mgrote.net - User ubi_ssh_admin - HostKeyAlgorithms=+ssh-dss +Host git.dataport.de + HostName git.dataport.de + User git + PreferredAuthentications publickey + Port 2200 + IdentityFile ~/.ssh/zcdi-gitlab -### Mikrotik -Host rb5009.mgrote.net crs305.mgrote.net hex.mgrote.net - User admin - IdentityFile ~/.ssh/mikrotik_ed25519 - -### papa.lan -Host qnap-nas - HostName 192.168.3.108 - User extraadmin - IdentityFile ~/.ssh/qnap_papa - -### ssh-key für git clone -Host git.mgrote.net - IdentityFile ~/.ssh/git.mgrote.net - -Host github.com - User git - IdentityFile ~/.ssh/github.com +Host gitlab.dataport.de + Hostname gitlab.dataport.de + User git + PreferredAuthentications publickey + IdentityFile ~/.ssh/adminptf-gitlab + AddKeysToAgent yes