dotfiles/.ssh/config

48 lines
1.0 KiB
Plaintext

### 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 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 nanohd-wohnzimmer.mgrote.net
User ubi_ssh_admin
HostKeyAlgorithms=+ssh-dss
### 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