diff options
author | Timo Weingärtner <timo@tiwe.de> | 2012-02-25 21:17:00 +0100 |
---|---|---|
committer | Timo Weingärtner <timo@tiwe.de> | 2012-02-25 21:17:00 +0100 |
commit | 4b444020fa50e4f22a427b981c582b35cdb4efb1 (patch) | |
tree | a7e31424e72b3a98053ca5b11206831cfd3322e2 /examples | |
parent | 8f32f842b33bdc6617b41dc9f18b222fd3013e21 (diff) | |
download | openssh-known-hosts-4b444020fa50e4f22a427b981c582b35cdb4efb1.tar.gz |
Imported Debian version 0.2debian/0.2
Diffstat (limited to 'examples')
-rw-r--r-- | examples/curl | 9 | ||||
-rw-r--r-- | examples/psql | 12 | ||||
-rw-r--r-- | examples/rsync | 10 | ||||
-rw-r--r-- | examples/symlink | 5 |
4 files changed, 36 insertions, 0 deletions
diff --git a/examples/curl b/examples/curl new file mode 100644 index 0000000..18ed01b --- /dev/null +++ b/examples/curl @@ -0,0 +1,9 @@ +PLUGIN=curl +# see curl(1), section "EXIT CODES" for details: +EXIT_IGNORE='6 7 28' + +URL='https://www.example.com/known_hosts' + +# optional: +SIGURL='http://www.example.com/known_hosts.sig' +KEYRING='/path/to/gpgv-compatible.keyring' diff --git a/examples/psql b/examples/psql new file mode 100644 index 0000000..e2e72cb --- /dev/null +++ b/examples/psql @@ -0,0 +1,12 @@ +PLUGIN=psql +# from psql(1): psql returns 2 if the connection to the server went bad and +# the session was not interactive +EXIT_IGNORE=2 + +PGCLUSTER=8.3/db.example.com: +PGDATABASE=exampledb +PGUSER=exampleuser +PGPASSWORD=foobar # beware: will be readable from /proc/<pid>/environ, better: +PGPASSFILE=/path/to/.pgpass + +TABLE=known_hosts diff --git a/examples/rsync b/examples/rsync new file mode 100644 index 0000000..f8d9861 --- /dev/null +++ b/examples/rsync @@ -0,0 +1,10 @@ +PLUGIN=rsync +# see rsync(1), section "EXIT VALUES" for details: +EXIT_IGNORE=10 + +URL='rsync://rsync.example.com/pub/known_hosts' + +# optional: +SIGURL='rsync://rsync.example.com/pub/known_hosts.sig' +KEYRING='/path/to/gpgv-compatible.keyring' + diff --git a/examples/symlink b/examples/symlink new file mode 100644 index 0000000..c1a9ba2 --- /dev/null +++ b/examples/symlink @@ -0,0 +1,5 @@ +PLUGIN=symlink +# EXIT_IGNORE doesn't make sense here +EXIT_IGNORE= + +LINKDEST=/etc/ssh/ssh_known_hosts_local |