fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] when password is wrong


From: Prasant J
Subject: [Fab-user] when password is wrong
Date: Mon, 5 Dec 2016 11:41:56 +0530

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]