URL:
<http://savannah.nongnu.org/bugs/?23066>
Summary: ssh uris with given portnumbers are not handled
correctly
Project: duplicity
Submitted by: None
Submitted on: Saturday 04/26/2008 at 12:51 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When using portnumbers in ssh uris, e.g. ssh://[EMAIL PROTECTED]:1234/ duplicity
issues following command:
duplicity /foobar ssh://[EMAIL PROTECTED]:1234/
Remote file or directory '' does not exist
Running 'sftp -oPort=1234 [EMAIL PROTECTED]:1234' failed (attempt #1)
The problem resists in backends.py as parses_url.netloc is used as hoststring
which includes the port.
Attached is a simple patch which fix the problem
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Saturday 04/26/2008 at 12:51 UTC Name: backends.py.patch Size: 540B
By: None
<http://savannah.nongnu.org/bugs/download.php?file_id=15530>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?23066>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Duplicity-tracker mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/duplicity-tracker