Package: dput
Version: 0.9.2.27
Severity: normal
hi,
if using the scp (and maybe rsync) methods, the login is always
prepended to the host, as in:
command = ['scp', '-p']
if compress:
command.append('-C')
for anopt in ssh_config_options:
command += ['-o', anopt]
# TV-Note: Are these / Should these be escaped?
command += files_to_upload
command.append('[EMAIL PROTECTED]:%s' % (login, fqdn, incoming))
if the dput.cf doesn't provide a username, it would be much nicer
to simply do
command.append('%s:%s' % (fqdn, incoming))
and let scp choose the username (which would default to the current
username but might also be specified already in .ssh/config).
thanks,
sean
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable'), (75, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Versions of packages dput depends on:
ii gnupg 1.4.6-2 GNU privacy guard - a free PGP rep
ii python 2.4.4-2 An interactive high-level object-o
dput recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]