From 2ea6dccd12ffa66f4fc7e0d8a227e44ada804db2 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Thu, 19 Aug 2004 14:54:11 +0000 Subject: 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 --- src/lib/Server/Generators/sshbase.py | 12 ++++++++++-- 1 file 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' -- cgit v1.2.3-1-g7c22