parallel-ssh icon indicating copy to clipboard operation
parallel-ssh copied to clipboard

AttributeError: 'ssh.channel.Channel' object has no attribute 'flush'

Open pbrezina opened this issue 3 years ago • 0 comments

Trying to call stdin.flush() results with the following exception. This is with libssh pssh.clients.ssh.SSHClient client.

self = <pssh.clients.base.single.Stdin object at 0x7f2c6491ca60>

    def flush(self):
        """Flush pending data written to stdin."""
>       return self._client._eagain(self._channel.flush)
E       AttributeError: 'ssh.channel.Channel' object has no attribute 'flush'

.venv/lib64/python3.10/site-packages/pssh/clients/base/single.py:71: AttributeError

pbrezina avatar Oct 31 '22 10:10 pbrezina