Friday 17 November 2023

Re: [PSA] When uploading to Ubuntu, use SSH, not FTP


Thank up Simon for providing useful information.
Regarding FTP uploads, the flakiness issues should now be resolved. 
The usual `dput` upload should now work as per usual.

On Fri, Nov 17, 2023 at 3:04 PM Simon Quigley <> wrote:

There is currently some slight flakiness with the FTP server accepting uploads,
for both PPAs and The Launchpad team indicated on IRC that
they're looking into it.

That being said, those issues don't currently affect SSH uploads. It's generally
a good idea to do SSH-based uploads regardless:
  - Instead of `dput ubuntu your_source.changes`, try `ssh-ubuntu` in place of
  - Instead of e.g. `dput ppa:lubuntu-dev/backports-staging
your_source.changes`, use `dput ssh-ppa:lubuntu-dev/backports-staging
  - Also, if you're a DD, try `ssh-upload` instead of `ftp-master` or `ftp-eu`

Note, your SSH key has to be in Launchpad for this to work, and you may need to
manually specify your Launchpad username in the configuration if it's different
from your machine username.

Here's some example config stanzas, for your /etc/

login                   = tsimonq2
fqdn                    =
method                  = scp
incoming                = /srv/
allow_dcut              = 1
allowed_distributions   = (?!UNRELEASED|.*-security)

fqdn                    =
method                  = sftp
incoming                = /ubuntu
login                   = *

fqdn                    =
method                  = sftp
incoming                = ~%(ssh-ppa)s
login                   = *

I hope this helps,
Simon Quigley
tsimonq2 on LiberaChat and OFTC on Matrix
5C7A BEA2 0F86 3045 9CC8
C8B5 E27F 2CF8 458C 2FA4

ubuntu-devel mailing list
Modify settings or unsubscribe at: