Prasant J
2016-12-05 06:11:56 UTC
Hi,
I'm writing a python GUI that uses fabric as library and performs
operations on the remote host.
When the user supplies wrong password, then fabric asks for user to
provide password on the command line. The control drops to the command
line and the prompt is expecting user to input the password and this
does not go well with my GUI application.
How can I prevent this? How can fabric return exception or error when
password supplied is wrong. Basically fabric should give up on the
first attempt when password is incorrect.
Is there any way around this?
Any inputs will be of help!
Regards, Pj
I'm writing a python GUI that uses fabric as library and performs
operations on the remote host.
When the user supplies wrong password, then fabric asks for user to
provide password on the command line. The control drops to the command
line and the prompt is expecting user to input the password and this
does not go well with my GUI application.
How can I prevent this? How can fabric return exception or error when
password supplied is wrong. Basically fabric should give up on the
first attempt when password is incorrect.
Is there any way around this?
Any inputs will be of help!
Regards, Pj