blob: 1d53d0347c4f36d4db35467007b9eb5a8dd445f1 (
plain)
1
2
3
4
5
6
7
8
|
## vim:ft=zsh:foldmethod=marker
fpr() {
(
ssh-keygen -r '' -f =( ssh-keyscan -t rsa $1 2>/dev/null | sed -e 's/^[^ ]* //');
ssh-keygen -r '' -f =( ssh-keyscan -t dsa $1 2>/dev/null | sed -e 's/^[^ ]* //');
) | sed -e 's/^[^ ]* //'
}
|