markuman123
Joined 7 years ago
Karma
130
Submissions
38
Member since
Sep 22
Joined 7 years ago
1. ufw limit ssh.
2. Ansible devsec.hardening.ssh_hardening
3. fail2ban
totp() {
TOKEN=$(keyring get totp $1)
oathtool -b --totp $TOKEN | xclip
}
and my TOTP secrets are saved via ansible-vault - name: set TOTP in keyring
with_items: "{{ TOTP }}"
community.general.keyring:
service: totp
username: "{{ item }}"
password: "{{ TOTP[item] }}"
keyring_password: "{{ keyring_password }}"
on 3.21 with the previous version ...