projects
/
grml-autoconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config_display_ssh_fingerprints: adjust check for present host keys
[grml-autoconfig.git]
/
autoconfig.functions
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
19e7459
..
2736153
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-1126,7
+1126,7
@@
fi
# {{{ display hostkeys of SSH server
config_display_ssh_fingerprints() {
# {{{ display hostkeys of SSH server
config_display_ssh_fingerprints() {
- if !
find /etc/ssh/ -name
ssh_host_\*_key >/dev/null 2>&1 ; then
+ if !
ls /etc/ssh/
ssh_host_\*_key >/dev/null 2>&1 ; then
return 0 # no SSH host keys present
fi
return 0 # no SSH host keys present
fi