diff options
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -415,6 +415,13 @@ upgrade-systems() { done } +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/^[^ ]* //' +} + ########## md() { DIR="$1" |