Disable ssh agent. Get PWs from Keepass.

This commit is contained in:
Jan Eitzinger 2024-05-09 22:06:48 +02:00
parent adfbdb470e
commit fc66a0f954
4 changed files with 14 additions and 17 deletions

View File

@ -7,6 +7,14 @@ servers = (
tls_verify = "yes"; tls_verify = "yes";
autoconnect = "yes"; autoconnect = "yes";
}, },
{
address = "eu.tilde.chat";
chatnet = "tildeverse";
port = "6697";
use_tls = "yes";
tls_verify = "yes";
autoconnect = "yes";
},
{ address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; } { address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; }
); );

View File

@ -7,6 +7,8 @@ ControlPath ~/.ssh/sockets/socket-%r@%h:%p
VerifyHostKeyDNS yes VerifyHostKeyDNS yes
AddKeysToAgent yes AddKeysToAgent yes
ForwardAgent no ForwardAgent no
ForwardX11 no
PKCS11Provider /usr/local/lib/pkcs11/opensc-pkcs11.so
Host cshpc Host cshpc
Hostname cshpc.rrze.uni-erlangen.de Hostname cshpc.rrze.uni-erlangen.de
@ -14,77 +16,62 @@ User unrz254
Host csnhr Host csnhr
Hostname csnhr.nhr.fau.de Hostname csnhr.nhr.fau.de
ForwardAgent no
User unrz254 User unrz254
Host moodle Host moodle
Hostname moodle.nhr.fau.de Hostname moodle.nhr.fau.de
ForwardAgent no
User moodle User moodle
Host moebiusband Host moebiusband
Hostname server.moebiusband.org Hostname server.moebiusband.org
ForwardAgent no
User jan User jan
Host fritz Host fritz
HostName fritz HostName fritz
ForwardAgent no
User unrz254 User unrz254
ProxyJump cshpc ProxyJump cshpc
Host alex Host alex
HostName alex HostName alex
ForwardAgent no
User unrz254 User unrz254
ProxyJump cshpc ProxyJump cshpc
Host meggie Host meggie
HostName meggie HostName meggie
ForwardAgent no
User unrz254 User unrz254
ProxyJump cshpc ProxyJump cshpc
Host testfront Host testfront
HostName testfront HostName testfront
ForwardAgent no
User unrz254 User unrz254
ProxyJump cshpc ProxyJump cshpc
Host monitoring Host monitoring
Hostname monitoring.nhr.fau.de Hostname monitoring.nhr.fau.de
ForwardAgent no
User jan User jan
ProxyJump cshpc ProxyJump cshpc
Host monitoring-test Host monitoring-test
Hostname monitoring-test.nhr.fau.de Hostname monitoring-test.nhr.fau.de
ForwardAgent no
User unrz254 User unrz254
ProxyJump cshpc ProxyJump cshpc
Host gondor Host gondor
Hostname 192.168.1.130 Hostname 192.168.1.130
ForwardAgent no
Host rohan Host rohan
HostName rohan HostName rohan
ForwardAgent no
User jan User jan
ProxyJump cshpc ProxyJump cshpc
ProxyJump cshpc
Host gitolite Host gitolite
Hostname moebiusband.org Hostname server.moebiusband.org
ForwardAgent no
User gitolite3 User gitolite3
Host github Host github
Hostname github.com Hostname github.com
ForwardAgent no
User git User git
Host rrze-git Host rrze-git
Hostname gitlab.rrze.uni-erlangen.de Hostname gitlab.rrze.uni-erlangen.de
ForwardAgent no
User git User git

View File

@ -19,8 +19,10 @@ alias ccd='chezmoi cd'
alias cdi='chezmoi diff' alias cdi='chezmoi diff'
alias cap='chezmoi apply' alias cap='chezmoi apply'
{{- if ne .chezmoi.os "openbsd" }}
zstyle :omz:plugins:keychain agents ssh zstyle :omz:plugins:keychain agents ssh
zstyle :omz:plugins:keychain identities {{ .sshkey }} zstyle :omz:plugins:keychain identities {{ .sshkey }}
{{- end }}
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8

View File

@ -5,7 +5,7 @@
IMAPAccount moebius IMAPAccount moebius
Host mail.moebiusband.org Host mail.moebiusband.org
User jan User jan
PassCmd "keepassxc-cli show /home/jan/doc/private/Passwords.kdbx server/moebiusband.org -a password" Pass {{ (keepassxc "moebiusband.org").Password }}
SSLType IMAPS SSLType IMAPS
SSLVersions TLSv1.2 SSLVersions TLSv1.2
CertificateFile /etc/ssl/cert.pem CertificateFile /etc/ssl/cert.pem