summaryrefslogtreecommitdiff
path: root/cloudinit/ssh_util.py
Commit message (Collapse)AuthorAgeFilesLines
* Add support for printing out the authkey's for the default user.Joshua Harlow2012-08-181-40/+54
| | | | | | | | | | 1. Adjust the sshutil so that it has functions for doing this (used by the previous functions) 2. Create a new module that pretty prints out the given authorized keys fetched (if any) using the standard md5 scheme (for now), this module can be disabled by setting 'no_ssh_fingerprints' or just removing it from the running list.
* Don't remove the key if its not there (or was already removed)Joshua Harlow2012-06-291-1/+2
|
* Simplify sshd config loading to make it use one set of functions/objects/classesJoshua Harlow2012-06-211-6/+43
|
* Massive pylint + pep8 fixups!Joshua Harlow2012-06-201-3/+2
|
* Ensure any authorized key file found in authorized keys is path adjusted as wellharlowja2012-06-201-1/+1
|
* Make most of all the places use the paths join() function so that testing ↵Joshua Harlow2012-06-191-3/+7
| | | | with non-real read/write paths is easier.
* Remove default since it will never be called that way and apply default ↵Joshua Harlow2012-06-161-4/+1
| | | | since its not currently being called that way
* Send in src line instead of stripped line.Joshua Harlow2012-06-161-8/+8
|
* Update ssh_util to have a parser class and a line entry class. Joshua Harlow2012-06-161-47/+71
| | | | | | | | | Also have a method that will parse the authorized key file. This allows: 1. Testing of parsing seperate from testing of entry construction. 1. Testing of authorized key file parsing, separate from updating.
* Comments as to why we are using a csv parser and do some of the logic checks ↵Joshua Harlow2012-06-161-0/+10
| | | | that are done for option extraction
* Ensure when an exception is captured that we use the util.logexc helper.Joshua Harlow2012-06-151-10/+10
|
* Add comments on formats, add in function that handles option extraction + ↵Joshua Harlow2012-06-111-43/+62
| | | | other pylint cleanups.
* Cleanup this and add refactoring around large constructors (add a parse ↵Joshua Harlow2012-06-091-122/+155
| | | | method). Handle error cases better...
* Remove the main function from this, seems like that should be in a test if ↵Joshua Harlow2012-06-081-37/+0
| | | | needed.
* 1. Adding some new helper files that split off file inclusion, templating, ↵Joshua Harlow2012-06-071-0/+227
importing, constant usage. 1. Move all datasources to a new sources directory 1. Rename some files to be more consistent with python file/module naming.