mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
ssh: disable commands echo
This should help on fixing issue related to echoed commands which make it difficult to parse the commands results. Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
This commit is contained in:
parent
5d288efa9c
commit
10c80a94ad
@ -60,6 +60,7 @@ def ssh_get_shell(host, username, password=None, keyfile=None, port=None, timeou
|
|||||||
conn.setwinsize(500,200)
|
conn.setwinsize(500,200)
|
||||||
conn.sendline('')
|
conn.sendline('')
|
||||||
conn.prompt()
|
conn.prompt()
|
||||||
|
conn.setecho(False)
|
||||||
return conn
|
return conn
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user