diff options
Diffstat (limited to 'zshfunc/fpr')
-rw-r--r-- | zshfunc/fpr | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/zshfunc/fpr b/zshfunc/fpr index 1d53d03..38afc3b 100644 --- a/zshfunc/fpr +++ b/zshfunc/fpr @@ -1,8 +1,6 @@ ## 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/^[^ ]* //' -} +( + 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/^[^ ]* //' |