[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#624727: apt's ssh method does not honor a specified port number



Package: apt
Version: 0.8.13.2ubuntu2
Severity: normal

apt's ssh method allows a port number to be specified in a sources.list files,
but does not use the given port number. For example, in the source line:

deb ssh://somebody@my.host:22220/home/apt/repo distro section

the ssh command that is invoked is: ssh somebody@my.host /bin/sh

I believe the command should actually have been: ssh -p 22220 somebody@my.host
/bin/sh



-- Package-specific info:

-- (/etc/apt/preferences present, but not submitted) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty-backports'), (500, 'natty')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  libc6            2.13-0ubuntu13          Embedded GNU C Library: Shared lib
ii  libgcc1          1:4.5.2-8ubuntu4        GCC support library
ii  libstdc++6       4.5.2-8ubuntu4          The GNU Standard C++ Library v3
ii  zlib1g           1:1.2.3.4.dfsg-3ubuntu3 compression library - runtime

Versions of packages apt recommends:
pn  gpg                          <none>      (no description available)
ii  ubuntu-keyring               2010.+09.30 GnuPG keys of the Ubuntu archive

Versions of packages apt suggests:
pn  apt-doc                 <none>           (no description available)
ii  aptitude                0.6.3-3.2ubuntu1 terminal-based package manager (te
ii  bzip2                   1.0.5-6ubuntu1   high-quality block-sorting file co
ii  dpkg-dev                1.16.0~ubuntu7   Debian package development tools
ii  lzma                    4.43-14ubuntu2   Compression method of 7z format in
ii  python-apt              0.7.100.3ubuntu6 Python interface to libapt-pkg
ii  synaptic                0.75.1ubuntu2    Graphical package manager

-- no debconf information



Reply to: