Skip to content

v.2024.1.2

Choose a tag to compare

@genben genben released this 15 Jan 22:10
· 15 commits to master since this release

Changed

  • For security reasons, do not load SSH configuration from local ~/.ssh/config.
  • For security reasons, do not load SSH private keys from local system ~/.ssh.
  • For security reasons, do not load SSH private keys from SSH Agent.
  • Disable by default a prefetch of files in background thread because a client may not need to read a whole file.
  • Use protocol prefixes msftp:// and mssh:// instead of originals sftp:// and ssh:// respectively.
  • Fix bug in move() when preferve_time is True.
  • By default, do not run any shell commands (like uname -s) because some SFTP servers forbid a shell and close forcibly a network connection when the client attemps to run shell commands.
  • Add use_posix_rename optional parameter to use a more efficient POSIX RENAME command rather than RENAME.
  • Fix issue with SSH connection is being closed while SSHFile object is stil using it. This occurs because garbage collector may destroy the parent SSHFS object (and the underlying SSH connection) because SSHFile objects are not referencing the parent object directly.
  • Fix connection leakage when SSHFile is opened directly rather than using context manager.