Home | Trees | Index | Help |
---|
Package paramiko :: Class SSHConfig |
|
object
--+
|
SSHConfig
lookup
. The format is described in
OpenSSH's ssh_config
man page. This class is provided
primarily as a convenience to posix users (since the OpenSSH format is a
de-facto standard on posix) but should work fine on Windows too.
Since: 1.6
Method Summary | |
---|---|
Create a new OpenSSH config object. | |
Return a dict of config options for a given hostname. | |
Read an OpenSSH config from the given file object. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(self)
Create a new OpenSSH config object.
|
lookup(self, hostname)Return a dict of config options for a given hostname. The host-matching rules of OpenSSH's "port" , not "Port" .
No other processing is done to the keys or values.
|
parse(self, file_obj)Read an OpenSSH config from the given file object.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jan 21 19:06:09 2008 | http://epydoc.sf.net |