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

Bug#404134: openssh-server: sshd uses from home directory when copying identity.pub

Package: openssh-server
Version: 1:4.3p2-7
Severity: normal

When doing ssh-copy-id the ssh server copies the .ssh/authorized_keys file to the wrong location, if the dir is changed in the .bashrc-file. E.g. if I do an "cd /tmp" in my .bashrc-file, it creates a directory /tmp/.ssh on the remote system and the identity is copied to /tmp/.ssh/authorized_keys.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)

Versions of packages openssh-server depends on:
ii  adduser                      3.99        Add and remove users and groups
ii  debconf [debconf-2.0]        1.5.8       Debian configuration management sy
ii  dpkg                         1.13.22     package maintenance system for Deb
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libcomerr2                   1.39-1      common error description library
ii  libkrb53                     1.4.4-3     MIT Kerberos runtime libraries
ii  libpam-modules               0.79-3.2    Pluggable Authentication Modules f
ii  libpam-runtime               0.79-3.2    Runtime support for the PAM librar
ii  libpam0g                     0.79-3.2    Pluggable Authentication Modules l
ii  libselinux1                  1.32-2      SELinux shared libraries
ii  libssl0.9.8                  0.9.8c-3    SSL shared libraries
ii  libwrap0                     7.6.dbs-11  Wietse Venema's TCP wrappers libra
ii  openssh-client               1:4.3p2-7   Secure shell client, an rlogin/rsh
ii  zlib1g                       1:1.2.3-13  compression library - runtime

openssh-server recommends no packages.

-- debconf information:
  ssh/new_config: true
* ssh/use_old_init_script: true
* ssh/disable_cr_auth: false

Reply to: