Skip to content

Instantly share code, notes, and snippets.

View saadatqadri's full-sized avatar

Saadat Qadri saadatqadri

View GitHub Profile
JosefJezek /
Last active May 12, 2024 11:19
How to use Pelican on GitHub Pages
bradland /
Last active April 4, 2023 21:21
SSH known_hosts tools
# This is a short collection of tools that are useful for managing your
# known_hosts file. In this case, I'm using the '-f' flag to specify the
# global known_hosts file because I'll be adding many deploy users on this
# system. Simply omit the -f flag to operate on ~/.ssh/known_hosts
# Add entry for host
ssh-keyscan -H >> /etc/ssh/ssh_known_hosts
# Scan known hosts
ssh-keygen -f /etc/ssh/ssh_known_hosts -F