Gentoo Archives: gentoo-user

From: Willie Wong <wwong@××××××××××××××.EDU>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Copying a file via ssh with no password, keeping the system safe
Date: Thu, 07 Oct 2010 22:28:29
Message-Id: 20101007222804.GA12640@math.princeton.edu
In Reply to: Re: [gentoo-user] Copying a file via ssh with no password, keeping the system safe by Andrea Conti
1 On Thu, Oct 07, 2010 at 08:40:31PM +0200, Andrea Conti wrote:
2 > > Is there a way to allow only one single command from a single cronjob to
3 > > operate passwordless, while keeping all the other connections secured by
4 > > a password?
5 >
6 > You can't do that on a per-command basis. You'd be trying to control the
7 > authentication method accepted by sshd on B according to which command
8 > is run on A -- something sshd on B knows nothing about.
9 >
10
11 That's partially false. See my response in this thread.
12
13 W
14 --
15 Willie W. Wong wwong@××××××××××××××.edu
16 Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
17 et vice versa ~~~ I. Newton

Replies