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.
|
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 Mon May 23 13:50:04 2011 | http://epydoc.sourceforge.net |