dotfiles/.ssh/config

61 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
### grote.lan
Host dokuwiki2.grote.lan
Host qmk.grote.lan
Host fileserver2.grote.lan
Host acng.grote.lan
Host ansible2.grote.lan
Host docker10.grote.lan
Host pve2.grote.lan
Host gitea.grote.lan
Host vm-test2.grote.lan
Host pve2-test2.grote.lan
Host k3s1.grote.lan
Host k3s2.grote.lan
Host k3s3.grote.lan
Host bastelstube-gui.grote.lan
Host *.grote.lan
IdentityFile ~/.ssh/grote.lan
### Ubiquity
Host nanohd-wohnzimmer.grote.lan
User ubi_ssh_admin
HostKeyAlgorithms=+ssh-dss
### Mikrotik
Host rb5009.grote.lan crs309.grote.lan crs305.grote.lan hex.grote.lan
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