85bafc3145
Version 4.5 * :class:~.spawn and :class:~.fdspawn now have a use_poll parameter. If this is True, they will use :func:select.poll instead of :func:select.select. poll() allows file descriptors above 1024, but it must be explicitly enabled due to compatibility concerns * The :meth:.pxssh.login method has several new and changed options: * The option password_regex allows changing the password prompt regex, for servers that include password: in a banner before reaching a prompt * :meth:~.pxssh.login now allows for setting up SSH tunnels to be requested once logged in to the remote server. This option is ssh_tunnels The structure should be like this:: { 'local': ['2424:localhost:22'], # Local SSH tunnels 'remote': ['2525:localhost:22'], # Remote SSH tunnels 'dynamic': [8888], # Dynamic/SOCKS tunnels } * The option spawn_local_ssh=False allows subsequent logins from the remote session and treats the session as if it was local * Setting sync_original_prompt=False will prevent changing the prompt to something unique, in case the remote server is sensitive to new lines at login * If ssh_key=True is passed, the SSH client forces forwarding the authentication agent to the remote server instead of providing a key |
||
---|---|---|
.. | ||
DESCR | ||
distinfo | ||
Makefile | ||
PLIST |