U
W[1 � @ sF d dl mZmZ d dlmZ d dlmZ d dlZG dd� dej�Z dS )� )�SSHClientTransport�
SSHCiphers)�usage)�unicodeNc
@ s@ e Zd Zddddgdddgdddgd d
dgdddd
gddddgdddgddddgddddgddddgg
Zdddgdddgdd d!gd"d#d$gd%d&d'gd(d)d*gd+d,d-ggZejd.ge�� eje j
�� d/d0�eje j�� d1d0�eje
jd2d0�d3�e�� ejd4d0�ejd5d6d7�gd8�Zd9d:� Zd;d<� Zd=d>� Zd?d@� ZdAdB� ZdCdD� ZdS )E�ConchOptions�user�lNzLog in using this user name.Zidentity�i�ciphers�c�macs�mZport�pz7Connect to this port. Server must be on the same port.Zoption�ozIgnored OpenSSH options�host-key-algorithms� zknown-hostszFile to check for host keys�user-authenticationsz%Types of user authentications to use.ZlogfilezFile to log to, or - for stdout�version�VzDisplay version number only.�compress�CzEnable compression.�log�vz#Enable logging (defaults to stderr)Znox11�xz+Disable X11 connection forwarding (default)�agent�Az&Enable authentication agent forwarding�noagent�az1Disable authentication agent forwarding (default)Z reconnect�rz2Reconnect to the server if the connection is lost.)r r zciphers to choose from)�descrzmacs to choose fromz"host key algorithms to choose from)r r
r r ZcommandZargumentT)r �repeat)ZmutuallyExclusiveZ
optActionsZextraActionsc O s$ t jj| f|�|� g | _d | _d S )N)r �Options�__init__� identitysZconns)�self�args�kw� r'