diff --git a/pysqa/ext/remote.py b/pysqa/ext/remote.py index c1e8150..41b03bb 100644 --- a/pysqa/ext/remote.py +++ b/pysqa/ext/remote.py @@ -240,7 +240,7 @@ def _execute_remote_command(self, command): ssh = self._ssh_connection else: ssh = self._open_ssh_connection() - stdin, stdout, stderr = ssh.exec_command(command) + stdin, stdout, stderr = ssh.exec_command(command=command, get_pty=True) warnings.warn(stderr.read().decode()) output = stdout.read().decode() if not self._ssh_continous_connection: