summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-07 12:05:15 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-07 12:05:15 +0100
commit334e4ab181ac6be7a464ce0b48836a5d390e40fe (patch)
tree141cfc8e442444186adcfd2a6cf1767addd73e8f
parent3b2155bcb52db95c3c00fac1674119445a1a1d94 (diff)
check_ssh: Descriptive commnt
-rw-r--r--etc/functions/check_ssh1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/functions/check_ssh b/etc/functions/check_ssh
index 26ee9fa..7cd9f25 100644
--- a/etc/functions/check_ssh
+++ b/etc/functions/check_ssh
@@ -1,4 +1,5 @@
## vim:ft=zsh
+## check_ssh - returns true if a machine is reachable and allowing logins on ssh
if [[ $(ssh $1 'echo foo' 2> /dev/null < /dev/null ) == foo ]] {
return 0
} else {