Your message dated Mon, 09 Jul 2012 16:17:26 +0000
with message-id <e1sogem-0004jp...@franck.debian.org>
and subject line Bug#668239: fixed in paramiko 1.7.7.1-3
has caused the Debian Bug report #668239,
regarding host key handling broken when port!=22
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
668239: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668239
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-paramiko
Version: 1.7.7.1-2
Severity: important
Tags: upstream patch
in lines 307-310 in client.py, the hostname is rewritten
to "[origname]:portnumber" if the port isn't 22.
this serves no useful purpose at all, and it breaks
the lookup for the host key that is attempted on the next few
lines: that now fails as the ssh known hosts format allows
hostnames or ip addresses, nothing else (and certainly
not '[hostname]:port').
result: you get a "unknown server" exception (unless you enable the
only-warn missing host key policy).
the attached patch removes the problematic hostname rewriting.
regards
az
--- client.py.orig 2012-04-10 11:59:19.892476651 +1000
+++ client.py 2012-04-10 11:59:58.743449158 +1000
@@ -303,11 +303,7 @@
server_key = t.get_remote_server_key()
keytype = server_key.get_name()
-
- if port == SSH_PORT:
- server_hostkey_name = hostname
- else:
- server_hostkey_name = "[%s]:%d" % (hostname, port)
+ server_hostkey_name = hostname
our_server_key = self._system_host_keys.get(server_hostkey_name,
{}).get(keytype, None)
if our_server_key is None:
our_server_key = self._host_keys.get(server_hostkey_name,
{}).get(keytype, None)
--- End Message ---
--- Begin Message ---
Source: paramiko
Source-Version: 1.7.7.1-3
We believe that the bug you reported is fixed in the latest version of
paramiko, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 668...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jeremy T. Bouse <jbo...@debian.org> (supplier of updated paramiko package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 09 Jul 2012 11:02:38 -0400
Source: paramiko
Binary: python-paramiko
Architecture: source all
Version: 1.7.7.1-3
Distribution: unstable
Urgency: low
Maintainer: Jeremy T. Bouse <jbo...@debian.org>
Changed-By: Jeremy T. Bouse <jbo...@debian.org>
Description:
python-paramiko - Make ssh v2 connections with Python
Closes: 659007 668239
Changes:
paramiko (1.7.7.1-3) unstable; urgency=low
.
* Accept NMU uploads (Closes: #659007, #668239)
* Update package to clean up lintian findings
* debian/source/local-options: set unapply-patches option
* debian/watch: Don't need to use uupdate with gbp
* debian/control: Upgrade Debian Standard (no changes needed)
Checksums-Sha1:
74419a44318df83a1ea80f2181db1f0073aaf939 1345 paramiko_1.7.7.1-3.dsc
c2872d231ed52d1bb48dc7351d8099376143b020 5357 paramiko_1.7.7.1-3.debian.tar.gz
3ef20f1e8c453c26e6dc33c310d720d57d92d60c 806772
python-paramiko_1.7.7.1-3_all.deb
Checksums-Sha256:
8bf5b2dc47f8069a75cf64f741c99576378d6a538376c82de2142769c6fd0db3 1345
paramiko_1.7.7.1-3.dsc
b0b3d8d8c933a235597fb0a4a43f30e36ba468d590d098a5a5632014f60ae457 5357
paramiko_1.7.7.1-3.debian.tar.gz
749a3e3db2aacb9ebbb44fde63327eeeae6da0cfc83930f090c5ddd05beb5f35 806772
python-paramiko_1.7.7.1-3_all.deb
Files:
3dae5b390b64b5e1ce5f071092359fb2 1345 python optional paramiko_1.7.7.1-3.dsc
94c9e27d03bc91502202cd7ee9596162 5357 python optional
paramiko_1.7.7.1-3.debian.tar.gz
b10eae4c9cccc0267541bdb24250aa9f 806772 python optional
python-paramiko_1.7.7.1-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iF4EAREIAAYFAk/7AUgACgkQ8C9U2GaKntdj/gD6A2LkQbDmuewcq8bBpsIbQsOw
gP+FPJWkoRt0zMmvgiQA/0uR7Rqcus16HFy5Aj7h/KwOFlrlR9oSKRoHR/5MRUbZ
=X20d
-----END PGP SIGNATURE-----
--- End Message ---