dotfiles/.ssh/config
2024-01-25 19:38:07 +01:00

58 lines
1.3 KiB
Text

### ssh-agent
IgnoreUnknown UseKeychain
UseKeychain yes
AddKeysToAgent yes
### keys
StrictHostKeyChecking=accept-new
# https://stackoverflow.com/questions/21383806/how-can-i-force-ssh-to-accept-a-new-host-fingerprint-from-the-command-line
### mgrote.net
Host fileserver3.mgrote.net
Host ansible2.mgrote.net
Host docker10.mgrote.net
Host docker11.mgrote.net
Host pve5.mgrote.net
Host gitea.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 nanohd-wohnzimmer.mgrote.net
User ubi_ssh_admin
HostKeyAlgorithms=+ssh-dss
### Mikrotik
Host rb5009.mgrote.net crs309.mgrote.net crs305.mgrote.net hex.mgrote.net
User admin
IdentityFile ~/.ssh/ssh_key_mikrotik_admin
### 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
User gitea
Port 2222
PreferredAuthentications publickey
IdentityFile ~/.ssh/git.mgrote.net
### dp-antares
Host dp-zcdi-gitlab git.dataport.de
HostName git.dataport.de
User git
Port 2200
PreferredAuthentications publickey
IdentityFile ~/.ssh/git.dataport.de
Host github.com
User git
IdentityFile ~/.ssh/github.com