gvfs can't access SFTP on alternate ports

Bug #194482 reported by Jacob Peddicord on 2008-02-22
Affects Status Importance Assigned to Milestone
Fix Released
gvfs (Ubuntu)
Ubuntu Desktop Bugs

Bug Description

When trying to access a SFTP/SSH location in Nautilus or any other GVFS enabled application, only SFTP locations with port 22 can be accessed.

How to reproduce:
1. Find a SSH/SFTP server running on a port other than 22.
2. Visit sftp://user@host:port/
3. "Access was denied."

Tried on multiple servers, all producing the same result. Also, accessing sftp://user@host:22/ works fine even with the port number specified, but any other number fails.

The same thing occurs when using gvfs-mount from the command line.

Related branches

description: updated
Bardur Simonsen (bard-simonsen) wrote :

i have the same problem here so confirmed.

Changed in gvfs:
status: New → Confirmed
Changed in gvfs:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
status: Confirmed → Triaged
Changed in gvfs:
status: Unknown → New
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gvfs - 0.1.8-0ubuntu1

gvfs (0.1.8-0ubuntu1) hardy; urgency=low

  * New upstream version:
    - Update for gio API changes
    - Add gphoto2 backend
    - Add network: and dns-sd: backend support (lp: #185756)
    - Http and webdav backend updates
    - Keyring support
    - Fix crashes and deadlocks
    - Add trash::item-count attribute to trash:///
    - Fix smb reads > 65535 bytes breaking on some servers
    - Fix cancellation race in reading
    - Fill in thumbnail info for backends
    - sftp: Handle host identity changes (lp: #188790)
    - Enable translations everywhere
    - Add bash completion support for command line apps
    - Fix handling of blank cds and audio cds
    - Support port in sftp uris (lp: #194482)
  * debian/control.in:
    - Build-Depends on libavahi-glib-dev, libavahi-client-dev, libgphoto2-2-dev,
      libgnome-keyring-dev and updated libhal, libglib requirement
    - update the description
  * debian/gvfs-backends.install, debian/gvfs-bin.install:
    - updated to the new version changes
  * debian/patches/80_lists_audio_and_blank_cds.patch,
    - those are fixed in the new version

 -- Sebastien Bacher <email address hidden> Mon, 25 Feb 2008 23:05:47 +0100

Changed in gvfs:
status: Triaged → Fix Released
Changed in gvfs:
status: New → Fix Released
Changed in gvfs:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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