[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] Entering wrong ssh password with --ssh-askpass
From: |
Marcin Zajączkowski |
Subject: |
[Duplicity-talk] Entering wrong ssh password with --ssh-askpass |
Date: |
Thu, 22 May 2008 12:45:12 +0200 |
User-agent: |
Thunderbird 2.0 |
Hello,
Entering a wrong ssh password (when using --ssh-askpass switch) causes
Duplicity to try 5 times to login using that wrong password (of course
without any chance to login). Retries are good, but for a wrong password
it doesn't have sense.
Would it possible to detect that error and (with --ssh-askpass) ask for
a password again?
Duplicity 0.4.11, Fedora 8.
<OUTPUT>
Password for 'my-host':
Running 'sftp address@hidden' (attempt #1)
Invalid SSH password
Running 'sftp address@hidden' failed (attempt #1)
(...)
Running 'sftp address@hidden' (attempt #5)
Invalid SSH password
Running 'sftp address@hidden' failed (attempt #5)
Giving up trying to execute 'sftp address@hidden' after 5 attempts
Using temporary directory /tmp/duplicity-8mxnhH-tempdir
Traceback (most recent call last):
File "/usr/bin/duplicity", line 463, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 458, in with_tempdir
fn()
File "/usr/bin/duplicity", line 390, in main
globals.archive_dir).set_values()
File "/usr/lib/python2.5/site-packages/duplicity/collections.py",
line 476, in set_values
backend_filename_list = self.backend.list()
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line
504, in list
l = self.run_sftp_command(commandline, commands).split('\n')[1:]
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line
473, in run_sftp_command
raise BackendException("Error running '%s'" % commandline)
duplicity.backends.BackendException: Error running 'sftp address@hidden'
</OUTPUT>
Regards
Marcin
- [Duplicity-talk] Entering wrong ssh password with --ssh-askpass,
Marcin Zajączkowski <=