Package: duplicity
Version: 0.7.01-1
Severity: normal

I backup my files using duplicity onto an ssh server. The user account I use
on that server has a shell of "/usr/bin/rssh". Unfortunately, 0.7 no longer
works in that configuration:

------------------------------------------------------------
$ duplicity cleanup --ssh-options="-oIdentityFile=id_rsa" --force 
scp://user@hostname/backup

BackendException: scp mkdir failed(1): 
This account is restricted by rssh.
Allowed commands: scp sftp 

If you believe this is in error, please contact your system administrator.

$ duplicity list-current-files --ssh-options="-oIdentityFile=id_rsa" 
scp://user@hostname/backup

BackendException: scp mkdir failed(1): 
This account is restricted by rssh.
Allowed commands: scp sftp 

If you believe this is in error, please contact your system administrator.
------------------------------------------------------------

It looks like the problem is that the new version of duplicity tries to do
an mkdir and that's not allowed by rssh. It would be good to restore the
ability to use restricted shells because I don't want to use a full shell
for my backup user accounts given that they use password-less ssh keys.

Downgrading to 0.6.24-2 solves the problem.

Francois

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.utf8, LC_CTYPE=fr_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages duplicity depends on:
ii  libc6            2.19-13
ii  librsync1        0.9.7-10
ii  python           2.7.8-2
ii  python-lockfile  1:0.8-2

Versions of packages duplicity recommends:
ii  python-oauthlib  0.6.3-1
ii  python-paramiko  1.15.1-1
ii  python-urllib3   1.9.1-3
ii  rsync            3.1.1-2+b1

Versions of packages duplicity suggests:
pn  lftp                <none>
ii  ncftp               2:3.2.5-1.1
ii  python-boto         2.34.0-2
pn  python-cloudfiles   <none>
pn  python-gdata        <none>
pn  python-swiftclient  <none>
pn  tahoe-lafs          <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to