%PDF- %PDF-
Direktori : /lib/python3/dist-packages/paramiko/__pycache__/ |
Current File : //lib/python3/dist-packages/paramiko/__pycache__/config.cpython-312.pyc |
� �ecfk � �� � d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m Z ddlmZ d\ Z Z ddl Z ddlmZmZ d Z G d � de� Zd� Z G d � de� Z G d� de� Zy# e$ rZeZY dZ[�;dZ[ww xY w)z2 Configuration file (aka ``ssh_config``) support. � N)�sha1)�partial� )�StringIO)NN)�CouldNotCanonicalize�ConfigParseError� c �� � e Zd ZdZ ej d� Zg d�dgg d�g d�g d�g d�d �Zd � Ze d� � Z e d� � Ze d � � Zd� Z d� Zdd�Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zy)� SSHConfiga� 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 z(\w+)(?:\s*=\s*|\s+)(.+))�%C�%h�%l�%L�%n�%p�%r�%ur )r �~�%dr r r r )r r r r )r r r ) r r r r r r r r r )�controlpath�hostname�identityfile�proxycommand� proxyjump� match-execc � � g | _ y)a� Create a new OpenSSH config object. Note: the newer alternate constructors `from_path`, `from_file` and `from_text` are simpler to use, as they parse on instantiation. For example, instead of:: config = SSHConfig() config.parse(open("some-path.config") you could:: config = SSHConfig.from_file(open("some-path.config")) # Or more directly: config = SSHConfig.from_path("some-path.config") # Or if you have arbitrary ssh_config text from some other source: config = SSHConfig.from_text("Host foo\n\tUser bar") N)�_config)�selfs �1/usr/lib/python3/dist-packages/paramiko/config.py�__init__zSSHConfig.__init__I s � �&