[Bug] #152: Remove pkg_info.json file and replace it with python file to avoid access issue at runtime
[Improvement] add python 3.9 validation
[Bug] #109: Fix automated session closure handled by python garbage collection
[Bug] #120: Fix get_remote_session not respecting ‘timeout’ parameter
[Bug] #139: Fix run_cmd raising AuthenticationException if no agent is running
[Improvement][Tests]: use flaky package to automatically rerun flaky tests
[Improvement]: remove pytest-runner from setup_requires as this is deprecated for security reasons, see https://github.com/pytest-dev/pytest-runner
[Improvement]: use only fixed test dependencies in requirements_dev.txt
[Bug] #51: ‘get’ file was failing if the remote file is binary. Thanks to @pshaobow for the report.
[Feature]: Ability to use any parameter of paramiko.client.SSHClient.connect in get_remote_session, was forgotten during implementation of #43.
[Improvement]: tests migrated to docker-compose to setup docker environment
[Feature] #43: Ability to use any parameter of paramiko.client.SSHClient.connect in SSHSession.
[Bug] #23: do not print byte but str in continuous output when running command with python3. Thanks to @nicholasbishop for the report.
fix interruption of remote command when transport channel is already closed
allow to conceal part of the command run in logs specifying list of pattern in silent parameter (regexp format) For example, if a password is specified in command you may want to conceal it in logs but still want to log the rest of the command run
ability to customize success exit code when calling run_cmd so that an exit code different from 0 do not raise any exception. Success exit code can be an int or even a list of int if several exit codes are considered a success.
ability to retry remote command until success or max retry is reached
ability to forward Ctrl-C to remote host in order to interrupt remote command before stopping local script
reduce logging level of some logs
propagate missing ‘silent’ parameter in restclient module to run_cmd to control logging
automatically open inactive session when running command on it
automatically open inactive jump session when requesting remote session
Each ssh session can be used as a jump server to access multiple remote sessions in parallel. Only 1 remote session per jump server was allowed before.
ability to customize retry interval when opening a ssh session
Fix run of shell builtins commands (source, …) when impersonating another user as they cannot be executed without the shell and by default, sudo do not run shell
Fix BadHostKeyException raised by paramiko when reusing same ssh session object to connect to a different remote host having same IP than previous host (just TCP port is different)