summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-08-19 14:54:11 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-08-19 14:54:11 +0000
commit2ea6dccd12ffa66f4fc7e0d8a227e44ada804db2 (patch)
tree75bbd863aa82028269c90c0f1b6449af66c9cfdb
parent5fb2da17a501f11c3864204aa9b7daf3d572d7ec (diff)
downloadbcfg2-2ea6dccd12ffa66f4fc7e0d8a227e44ada804db2.tar.gz
bcfg2-2ea6dccd12ffa66f4fc7e0d8a227e44ada804db2.tar.bz2
bcfg2-2ea6dccd12ffa66f4fc7e0d8a227e44ada804db2.zip
update to new module path
2004/08/17 14:48:59-05:00 anl.gov!desai use " insead of ''' 2004/08/17 14:48:24-05:00 anl.gov!desai add documentation (Logical change 1.43) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@255 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Generators/sshbase.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/Server/Generators/sshbase.py b/src/lib/Server/Generators/sshbase.py
index 2ed53ad1a..8ce743738 100644
--- a/src/lib/Server/Generators/sshbase.py
+++ b/src/lib/Server/Generators/sshbase.py
@@ -8,12 +8,20 @@ from string import strip
from syslog import syslog, LOG_INFO
from Bcfg2.Server.Types import ConfigFile
-from Bcfg2.Server.Generator import Generator
-from Bcfg2.Server.GeneratorUtils import DirectoryBacked
+from Bcfg2.Server.Generator import Generator, DirectoryBacked
from elementtree.ElementTree import Element
class sshbase(Generator):
+ "The sshbase generator manages ssh host keys (both v1 and v2) for hosts. It also manages
+ the ssh_known_hosts file. It can integrate host keys from other management domains and
+ similarly export its keys. The repository contains files in the following formats:
+ ssh_host_key.H_(hostname) -> the v1 host private key for (hostname)
+ ssh_host_key.pub.H_(hostname) -> the v1 host public key for (hostname)
+ ssh_host_(dr)sa_key.H_(hostname) -> the v2 ssh host private key for (hostname)
+ ssh_host_(dr)sa_key.pub.H_(hostname) -> the v2 ssh host public key for (hostname)
+ ssh_known_hosts -> the current known hosts file. this is regenerated each time a new key is generated.
+"
__name__ = 'sshbase'
__version__ = '$Id$'
__author__ = 'bcfg-dev@mcs.anl.gov'