Skip to content

listdir hangs indefinitely #15

Closed
@dhirschfeld

Description

@dhirschfeld

Just trying to use fs.sshfs to access an sftp server but I'm finding that listdir is hanging indefinitely.

I've tracked it down to this line:

uname_sys = self._exec_command("uname -s")

...which calls the paramiko SSHClient.exec_command without a timeout argument:

fs.sshfs/fs/sshfs/sshfs.py

Lines 294 to 295 in 33f981b

_, out, err = self._client.exec_command(cmd)
return out.read().strip() if not err.read().strip() else None

Unfortunately, for whatever reason this seems to never return for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething does not workfixedassociated bug was fixed

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions