![]() IN NOĮVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,ĭAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OFĪNY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF Included in all copies or substantial portions of the Software. The above copyright notice and this permission notice shall be Permit persons to whom the Software is furnished to do so, subject to the Publish, distribute, sublicense, and/or sell copies of the Software, and to Including without limitation the rights to use, copy, modify, merge, "Software"), to deal in the Software without restriction, Obtaining a copy of this software and associated documentation files (the Permission is hereby granted, free of charge, to any person HandlerSSHTunnelForwarderError exceptions when set to Falseĭeprecated since version 0.0.8: (use mute_exceptions raise_exception_if_any_forwarder_have_a_problem (str or paramiko.PKey): Superseded by ssh_pkey, which can represent either a privateĭeprecated since version 0.0.8. Representing the IP and port of REMOTE SERVERĭeprecated since version 0.0.4. (str): Superseded by ssh_address_or_host, tuple of type (str, int) (boolean): Allow concurrent connections over a single tunnel You can set to 0.0 for disable keepalive.ĭefault: 5.0 (no keepalive packets are sent) This can be useful to keep connections alive over a NAT. The connection, a 'keepalive' packet will be sent (and ignored by (float): Interval in seconds defining the period in which, if no data was sent over HandlerSSHTunnelForwarderError exceptions when enabled (boolean): Allow silencing BaseSSHTunnelForwarderError or Logging.StreamHandler handler and DEFAULT_LOGLEVEL (logging.Logger): logging instance for sshtunnel and paramikoĭefault: logging.Logger instance with a single Since it may negatively affect interactive sessions (boolean): Turn on/off transport compression. (list): Look for pkeys in folders on this list, for example. (boolean): Enable/disable load of keys from an SSH agent The same format as remote_bind_address) can be specified, such as (tuple): Remote tuple in the format ( str, int) representing the IPĪnd port of the remote side of the tunnel. The same format as local_bind_address) can be specified, such as (list): In case more than one tunnel is established at once, a list of tuples (in Optional so both ('', 8000) and ('10.0.0.1', ) are validĬhanged in version 0.0.8: Added the ability to use a UNIXĭomain socket as local bind address local_bind_addresses (tuple): Local tuple in the format ( str, int) representing the IP and Will be created where all SSH traffic will be passed through If True and user's ssh_config_fileĬontains a Prox圜ommand directive that matches the specified SSHTunnelForwarder.stop() method or using it as a context. The connection(s) are closed when explicitly calling the Sshtunnel works by opening a port forwarding SSH connection Sshtunnel - Initiate SSH tunnels via a remote gateway. List of directories where SSH pkeys (in the format `id_*`) may be found n, -noagent Disable looking for keys from an SSH agent z, -compress Request server for compression over SSH transport SSH configuration file, defaults to ~/.ssh/config c SSH_CONFIG_FILE, -config SSH_CONFIG_FILE V, -version Show version number and quit v, -verbose Increase output verbosity (default: ERROR) t, -threaded Allow concurrent connections to each tunnel S KEY_PASSWORD, -private_key_password KEY_PASSWORD k SSH_HOST_KEY, -ssh_host_key SSH_HOST_KEY tmp/baz.sockĮquivalent to ssh -LPORT:xxxxxxxxx:xxxx, being the local IP address optional.īy default it will listen in all interfaces (0.0.0.0) and choose a random port. ip_n:port_nĮlements may also be valid UNIX socket domains: Local bind address sequence: ip_1:port_1 ip_2:port_2. Remote bind address sequence: ip_1:port_1 ip_2:port_2. R IP:PORT, -remote_bind_address IP:PORT h, -help show this help message and exit Set with "- ssh_address" if immediately after -R or -L Ssh_address SSH server IP address (GW for SSH tunnels)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |