parallel-ssh
parallel-ssh copied to clipboard
AttributeError: 'ssh.channel.Channel' object has no attribute 'flush'
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