Home | Trees | Indices | Help |
---|
|
Representation of a line in an OpenSSH-style "known hosts" file.
Instance Methods | |||
|
|||
|
|||
|
Class Methods | |||
|
Method Details |
Parses the given line of text to find the names for the host, the type of key, and the key data. The line is expected to be in the format used by the OpenSSH known_hosts file. Lines are expected to not have leading or trailing whitespace. We don't bother to check for comments or empty lines. All of that should be taken care of before sending the line to us. :param str line: a line from an OpenSSH known_hosts file |
Returns a string in OpenSSH known_hosts file format, or None if the object is not in a valid state. A trailing newline is included. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu May 7 11:49:47 2015 | http://epydoc.sourceforge.net |