Add ssh-fp alias to print host SSH fingerprints!

This commit is contained in:
2018-12-07 16:55:30 +01:00
parent 7a34d85683
commit 845adad38c

View File

@@ -133,6 +133,7 @@ pretransfer: %{time_pretransfer} | \
starttransfer: %{time_starttransfer} | \
total: %{time_total} | \
size: %{size_download}\n"'
alias ssh-fp='echo /etc/ssh/ssh_host_*_key.pub | xargs -n1 ssh-keygen -l -f'
function ds() {
du -sh "$@" | sort -rh