Add ssh config and public keys
This commit is contained in:
16
dot_ssh/config.tmpl
Normal file
16
dot_ssh/config.tmpl
Normal file
@ -0,0 +1,16 @@
|
||||
ServerAliveInterval 60
|
||||
IdentityFile ~/.ssh/{{- .user }}
|
||||
User {{ .user }}
|
||||
{{ if eq .profile "personal" -}}
|
||||
LogLevel info
|
||||
|
||||
{{- else if eq .profile "sfpd" -}}
|
||||
LogLevel error
|
||||
|
||||
Host ansible
|
||||
HostName lpr-ansible01.sfpd.fgov.be
|
||||
DynamicForward 1080
|
||||
|
||||
Host *.onprvp.fgov.be *.sfpd.fgov.be !lpr-jump01.sfpd.fgov.be
|
||||
ProxyJump lpr-jump01.sfpd.fgov.be
|
||||
{{- end }}
|
Reference in New Issue
Block a user