Repository navigation
Releases: miarec/miarec_sshfs
Releases · miarec/miarec_sshfs
Release list
v2024.1.5
v2024.1.4
Changes
- Raise
RemoteConnectionErrorrater thanOperationFailedin case of network issues (loss of connection, timeout, etc). - Automatically try to re-open SSH/SFTP connection on the next operation in case of network issues.
Previously, theSSHFSobject was stuck in error state, and any operations on file system, likeopenbin(),listdir(), etc. were failing indefinitely. - Fix a leak in SSH channels (
paramiko.SFTPClient) when files are opened and closed subsequently over the same SSH socket (paramiko.SSHClient).
Some SFTP servers limit a maximum number of SSH channels that can be opened over the same SSH socket, usually 10. - Raise
IOErrorrather thanFSErrorin file methods (read(),write(),seek()). Such methods can be called from the external code, whereFSErroris not catched.
For example, when file-like object is passed to Apachemod_wsgimodule, which streams the file.
v2024.1.3
Changes
- Bump up version to resolve GitHub Actions workflow issues
v.2024.1.2
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://andmssh://instead of originalssftp://andssh://respectively. - Fix bug in
move()whenpreferve_timeisTrue. - 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_renameoptional parameter to use a more efficient POSIX RENAME command rather than RENAME. - Fix issue with SSH connection is being closed while
SSHFileobject is stil using it. This occurs because garbage collector may destroy the parent SSHFS object (and the underlying SSH connection) becauseSSHFileobjects are not referencing the parent object directly. - Fix connection leakage when
SSHFileis opened directly rather than using context manager.
v2024.1.0
Changed
- Forked from fs.sshfs version 1.0.2
- Rename project from
fs.sshfstomiarec_sshfs