Amanda-Users

Re: variety of users w/ ssh-auth

2007-10-04 12:26:04
Subject: Re: variety of users w/ ssh-auth
From: Jean-Louis Martineau <martineau AT zmanda DOT com>
To: Cameron Matheson <cameronm AT webpipe DOT net>
Date: Thu, 04 Oct 2007 12:28:03 -0400
man amanda.conf
 DUMPTYPE SECTION
      client_username  string
          Default: CLIENT_LOGIN. Specify the username to connect on
          the client, only use with rsh/ssh authentification.


Cameron Matheson wrote:
Hello,

I have an amanda setup using auth-ssh, but I'm running into a bit of a
problem.  I've compiled amanda by hand on most of the boxes I'm backing
up (including the server), but I'd like to use the rpm's from zmanda.org
on my servers that have packages available.  The problem is that I can't
my hand-compiled boxes use 'amanda' for the user, whereas the zmanda
packages use 'amandabackup'.  When my server tries to connect to one of
these clients, it attempts to connect as amanda AT example DOT com.

I tried adding the following stanza to my ~amanda/.ssh/config :

Host example.com
User amanda

So that didn't alter the behavior at all.  I tried running amcheck
through strace to see what was really going on, and it looks like the
call to ssh is passing "-l amanda".  Is this intended behavior, or a
bug?  It seems like passing the username like that should be unnecessary
since amanda is running as the amanda user.  It would be nice to be able
to mix usernames like this (I know I was able to do this w/ the normal
bsd-auth scheme a few years back).

So my question is, is there anything I can do to work around this?
Would a patch to alter this behavior be welcomed?

Thanks,
Cameron


<Prev in Thread] Current Thread [Next in Thread>