Paramiko and Pseudo-tty Allocation

Actually it’s quite simple. Just:

stdin, stdout, stderr = client.exec_command(command,  get_pty=True)

Leave a Comment