File: //lib/python3/dist-packages/twisted/conch/scripts/__pycache__/conch.cpython-38.pyc
U
��W[H � @ s� d dl mZ d dlmZmZma d dlmZ d dlm Z m
Z
d dlmZmZm
Z
d dlmZmZmZ d dlmZmZ d dlmZmZmZ d d lZd d lZd d lZd d lZd d lZd d lZd d lZG d
d� dtj �Z!d ad a"d a#d a$d a%d a&dd
� Z'dd� Z(dd� Z)dd� Z*dd� Z+dd� Z,dd� Z-dd� Z.dd� Z/G dd� d�Z0G d d!� d!e j1�Z1G d"d#� d#e
j2�Z3G d$d%� d%ej4�Z4G d&d'� d'ej5�Z5d(d)� Z6d*d+� Z7e8d,k�r�e'� d S )-� )�print_function)�connect�default�options)�
ConchError)�
connection�common)�session�
forwarding�channel)�reactor�stdio�task)�log�usage)�ioType�
networkString�unicodeNc @ s� e Zd ZdZdZdddgdddd gd
dddggZd
ddgdddgdddgdddgdddgdddggZejdgej d d!�ej d d!�d"�e�
� ej d#d!�ej d$d%d&�gd'�Zg Zg Z
d(d)� Zd*d+� Zd,d-� Zd.d/� ZdS )0�
ClientOptionsz(Usage: conch [options] host [command]
zYconch is a SSHv2 client that allows logging into a remote machine and executing commands.�escape�e�~�localforward�LNz<listen-port:host:port Forward local port to remote address�
remoteforward�Rz<listen-port:host:port Forward remote port to local addressZnull�nzRedirect input from /dev/null.�fork�fz(Fork to background after authentication.�tty�tz-Tty; allocate a tty even if command is given.�notty�TzDo not allocate a tty.�noshell�Nz"Do not execute a shell or command.� subsystem�sz-Invoke command (mandatory) as SSH2 subsystem.)r r! zlisten-port:host:port)�descr)r r �commandZargumentT)r'