Saki's 研究记录

macOS Bash 命令的有趣用法
原文(英文)地址:https://weiyen.net/articles/useful-macos-cmd-line-utilities/ 有时候,当我感到无聊时,我喜欢查看 macOS Bash 命令 的列表。以下是我发现的一些有趣的命令: 以编程方式访问钥匙串如果你将秘密存储在钥匙串中(你应该这样做!),可以使用 security 命令程序化地访问它们。 1security find-internet-password -s "https://example.com" 我发现这对于编写使用本地存储凭据的自动化脚本非常有用。链接:https://ss64.com/...
Ansible provisioning ERROR! Using a SSH password instead of a key is not possible
避免 Ansible 无法存取第一次登录的 Server问题最近使用 ansible批量管理服务器,这批机器都没在我本机登录过,在首次运行 ansible-playbook操作时出现报错: 1fatal: [cache_01]: FAILED! => {"msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this. Please add t...