diff options
-rw-r--r-- | vimrc | 1 | ||||
-rw-r--r-- | zshrc | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -11,3 +11,4 @@ runtime! debian.vim let g:Imap_UsePlaceHolders = 0 let g:Imap_FreezeImap = 1 ":set fileencodings=ucs-bom,utf-8,default,latin1 +:hi MatchParen ctermbg=black @@ -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" |