Bug#119886: openssh-server: Encountered this problem with backup-manager
Package: openssh-server
Version: 1:4.7p1-1
Followup-For: Bug #119886
I ran into the same problem when trying to use backup-manager with ssh
uploads. I created a user "backup-manager" on the system I want to
upload the backups to, and since I already had to give that user
permission to /var/archives, I made /var/archives its home directory.
However, backup-manager defaults to 0660 permissions on /var/archives,
making ssh refuse to use /var/archives/.ssh/authorized_keys .
It would require a bit more work, but I think the *right* solution
here would involve asking if the group which has write permission to
the directory contains any users other than the SSH target user.
- Josh Triplett
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-rc4 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages openssh-server depends on:
ii adduser 3.105 add and remove users and groups
ii debconf [debconf-2.0] 1.5.17 Debian configuration management sy
ii dpkg 1.14.14 package maintenance system for Deb
ii libc6 2.7-5 GNU C Library: Shared libraries
ii libcomerr2 1.40.3-1 common error description library
ii libkrb53 1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii libpam-modules 0.99.7.1-5 Pluggable Authentication Modules f
ii libpam-runtime 0.99.7.1-5 Runtime support for the PAM librar
ii libpam0g 0.99.7.1-5 Pluggable Authentication Modules l
ii libselinux1 2.0.15-2+b1 SELinux shared libraries
ii libssl0.9.8 0.9.8g-3 SSL shared libraries
ii libwrap0 7.6.dbs-14 Wietse Venema's TCP wrappers libra
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii openssh-client 1:4.7p1-1 secure shell client, an rlogin/rsh
ii zlib1g 1:1.2.3.3.dfsg-8 compression library - runtime
openssh-server recommends no packages.
-- debconf information:
ssh/new_config: true
* ssh/use_old_init_script: true
ssh/encrypted_host_key_but_no_keygen:
ssh/disable_cr_auth: false
Reply to: