dataport: set ssh-config

This commit is contained in:
Michael Grote 2024-05-06 23:14:41 +02:00 committed by Michael Grote
parent 932d0b96f0
commit c2e016919a

View file

@ -1,47 +1,26 @@
### ssh-agent StrictHostKeyChecking no
IgnoreUnknown UseKeychain IgnoreUnknown UseKeychain
UseKeychain yes UseKeychain yes
AddKeysToAgent 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 Host l*.mgmt.dpaor.org l*.landsh.de l*.stadt.hamburg.de l*.hb-netz.de l*.lsa-net.de 10.62.*
StrictHostKeyChecking=accept-new User grotemi-admin@mgmt.dpaor.org
# https://stackoverflow.com/questions/21383806/how-can-i-force-ssh-to-accept-a-new-host-fingerprint-from-the-command-line
### mgrote.net Host *.dpaor.net *.dpaorinp.de 10.61.* 10.65.*
Host fileserver3.mgrote.net User grotemi-admin@dpaor.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
### Ubiquity Host git.dataport.de
Host nanohd-wohnzimmer.mgrote.net HostName git.dataport.de
User ubi_ssh_admin User git
HostKeyAlgorithms=+ssh-dss PreferredAuthentications publickey
Port 2200
IdentityFile ~/.ssh/zcdi-gitlab
### Mikrotik Host gitlab.dataport.de
Host rb5009.mgrote.net crs305.mgrote.net hex.mgrote.net Hostname gitlab.dataport.de
User admin User git
IdentityFile ~/.ssh/mikrotik_ed25519 PreferredAuthentications publickey
IdentityFile ~/.ssh/adminptf-gitlab
### papa.lan AddKeysToAgent yes
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