ssh uris with given portnumbers are not handled correctly

Bug #259076 reported by Cristian Klein
4
Affects Status Importance Assigned to Milestone
Duplicity
Unknown
Unknown
duplicity (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

When port numbers are given in SSH URIs, duplicity incorrectly calls sftp and scp with that port number in the hostname field.

Example:
$ duplicity -v5 svn ssh://example.com:26/svn.duplicity
Running 'sftp -oPort=26 <email address hidden>:26' (attempt #1)
Remote file or directory 'svn.duplicity' does not exist
Running 'sftp -oPort=26 <email address hidden>:26' failed (attempt #1)

sftp should be called as 'sftp -oPort=26 example.com' (without :26).

This bug is solved in duplicity v0.4.12.

Bug URL: https://savannah.nongnu.org/bugs/index.php?23066
ChangeLog for v0.4.12: http://duplicity.nongnu.org/CHANGELOG

Related branches

description: updated
Revision history for this message
Daniel Hahler (blueyed) wrote :

This should be fixed in duplicity 0.4.12.
I'll request a sync of it, since it's a bugfix-only release.

Changed in duplicity:
importance: Undecided → Medium
status: New → Triaged
Changed in duplicity:
assignee: nobody → kenneth-loafman
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Fixed in https://savannah.nongnu.org/bugs/?23066, released in 0.4.11.

Changed in duplicity:
importance: Undecided → Medium
status: New → Fix Released
Jorge Castro (jorge)
Changed in duplicity:
assignee: kenneth-loafman → nobody
importance: Medium → Unknown
status: Fix Released → Unknown
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package duplicity - 0.5.16-1ubuntu1

---------------
duplicity (0.5.16-1ubuntu1) karmic; urgency=low

  * Merge from debian unstable, remaining changes: (LP: #369224)
    - debian/rules:
      + add --install-layout=deb to setup.py
      + s/site-packages/*-packages/
      + don't use package provided GnuPGInterface
        - debian uses it because of debian bug #509415, which is fixed in
          ubuntu. (See bug 333057 on LP)
    - debian/patches
      + add 01_use_python_gnupginterface.dpatch
        - use GnuPGInterface provided by python-gnupginterface
  * Fixes at least:
    - use of ssh with given portnumber (LP: #259076)

 -- Andreas Moog <email address hidden> Wed, 29 Apr 2009 14:02:39 +0200

Changed in duplicity (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.