dataport: set ssh-config
This commit is contained in:
parent
932d0b96f0
commit
c2e016919a
1 changed files with 19 additions and 40 deletions
59
.ssh/config
59
.ssh/config
|
@ -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
|
|
||||||
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
|
User git
|
||||||
IdentityFile ~/.ssh/github.com
|
PreferredAuthentications publickey
|
||||||
|
Port 2200
|
||||||
|
IdentityFile ~/.ssh/zcdi-gitlab
|
||||||
|
|
||||||
|
Host gitlab.dataport.de
|
||||||
|
Hostname gitlab.dataport.de
|
||||||
|
User git
|
||||||
|
PreferredAuthentications publickey
|
||||||
|
IdentityFile ~/.ssh/adminptf-gitlab
|
||||||
|
AddKeysToAgent yes
|
||||||
|
|
Loading…
Reference in a new issue