Provide commented-out method of using SFTP to upload to Ubuntu + PPAs

Bug #632041 reported by Scott Ritchie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dput (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: dput

This is the current default dput.cf:

[ubuntu]
fqdn = upload.ubuntu.com
method = ftp
incoming = /
login = anonymous

for sftp you need:

[ubuntu]
fqdn = upload.ubuntu.com
method = sftp
incoming = ubuntu
login = (launchpad nick)

The default dput.cf should make itself more amenable to the latter, as some of us require sftp uploads due to awful ISPs. I suggest just adding the entire sftp section right below the ftp one, however have it commented out. A similar example could be made for PPAs. That way we won't need to search around the internet for how to enable sftp anymore.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: dput 0.9.6.1ubuntu1 [modified: etc/dput.cf]
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Sep 6 16:12:36 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: dput

Revision history for this message
Scott Ritchie (scottritchie) wrote :
Revision history for this message
Scott Ritchie (scottritchie) wrote :

Still relevant with Trusty's shipped dput.

summary: - Change "incoming = /" in dput.cf to "incoming = ubuntu" for sftp-
- compatability
+ Provide commented-out method of using SFTP to upload to Ubuntu + PPAs
description: updated
Changed in dput (Ubuntu):
status: New → Confirmed
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

given that there is no dput implementations that support proxies for ftp uploads this is slightly more urgent, as generally there are ssh proxy setups readily available that just work.

Changed in dput (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
importance: Undecided → High
Changed in dput (Ubuntu):
assignee: Dimitri John Ledkov (xnox) → nobody
status: Confirmed → Triaged
importance: High → Medium
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

`login = *` would work and ask ssh for the username.

If a different launchpad nick is needed from the local address, one should then configure that in ~/.ssh/config which will then work for bzr, git, dput access to launchpad.

Changed in dput (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dput - 1.1.0ubuntu2

---------------
dput (1.1.0ubuntu2) impish; urgency=medium

  * Add ssh-ubuntu and ssh-ppa upload targets using sftp protocols and ssh
    provided username. Set login name in ~/.ssh/config for ubuntu &
    launchpad hosts to match the launchpad login name. LP: #632041

 -- Dimitri John Ledkov <email address hidden> Thu, 29 Jul 2021 10:58:41 +0100

Changed in dput (Ubuntu):
status: Fix Committed → 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.