[dput-ng-maint] Bug#843241: dput-ng: The BadHostKeyException message is unhelp

Niels Thykier niels at thykier.net
Sat Nov 5 12:06:00 UTC 2016


Package: dput-ng
Version: 1.10
Severity: normal

Hi,

Recently, the ssh.upload.debian.org DNS name changed to point to a new
server.

Unsurpringly, this causes dput-ng to abort due to the host key
mismatch.  However, I cannot figure out how to fix this from the error
message, which is:


"""
Logging into host ssh.upload.debian.org as nthykier
SFTP error uploading to ssh.upload.debian.org: BadHostKeyException(u'ssh.upload.debian.org', <paramiko.rsakey.RSAKey object at 0x7fe8552ffa90>, <paramiko.rsakey.RSAKey object at 0x7fe8553c4850>)
"""

To make matters even worse, OpenSSH's client works fine (after I
updated my known_hosts file), but dput-ng keeps failing with the
message.


"""
$ ssh ssh.upload.debian.org echo ok
ok
$ dput ssh-upload pkg_version_source.changes
...

Logging into host ssh.upload.debian.org as nthykier
SFTP error uploading to ssh.upload.debian.org: BadHostKeyException(u'ssh.upload.debian.org', <paramiko.rsakey.RSAKey object at 0x7ff7a245ca90>, <paramiko.rsakey.RSAKey object at 0x7ff7a2521850>)
"""

Please update the error message to say:

 * How to fix it (where is the obsolete key)

Thanks,
~Niels



More information about the dput-ng-maint mailing list