| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files/MySQL/MySQL Workbench 6.3 CE/python/site-packages/paramiko/ |
Upload File : |
ó
rKXc @ sx d Z d d l Z d d l Z d d l Z d d l Z d d l Z d Z d e f d „ ƒ YZ d e f d „ ƒ YZ d S( s2
Configuration file (aka ``ssh_config``) support.
iÿÿÿÿNi t SSHConfigc B s\ e Z d Z e j d ƒ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d „ Z RS( sƒ
Representation of config information as stored in the format used by
OpenSSH. Queries can be made via `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.
.. versionadded:: 1.6
s (\w+)(?:\s*=\s*|\s+)(.+)c C s
g | _ d S( s5
Create a new OpenSSH config object.
N( t _config( t self( ( sU C:\Program Files\MySQL\MySQL Workbench 6.3 CE/python/site-packages\paramiko\config.pyt __init__. s c C s¶ i d g d 6i d 6} xˆ| D]€} | j d ƒ j ƒ } | s | j d ƒ rU q n t j | j | ƒ } | sƒ t d | ƒ ‚ n | j d ƒ j ƒ } | j d ƒ } | d k rã | j j
| ƒ i | j | ƒ d 6i d 6} q | d k r| j ƒ d
k rq q | j d ƒ r5| j d ƒ r5| d d !} n | d k r}| | d k ri| d | j
| ƒ qž| g | d | <q | | d k r | | d | <q q W| j j
| ƒ d S( sŽ
Read an OpenSSH config from the given file object.
:param file_obj: a file-like object to read the config file from
t *t hostt configs
t #s Unparsable line %si i t proxycommandt nonet "iÿÿÿÿt identityfilet localforwardt
remoteforwardN( R R R
(
t rstript lstript
startswitht ret matcht SETTINGS_REGEXt Exceptiont groupt lowerR t appendt
_get_hostst endswith( R t file_objR t lineR t keyt value( ( sU C:\Program Files\MySQL\MySQL Workbench 6.3 CE/python/site-packages\paramiko\config.pyt parse4 s4
c C sº g | j D]"