[Q] SCP/SFTP batch file password problem?
Ed Wilts
ewilts at ewilts.org
Mon Aug 15 15:58:58 UTC 2005
On Mon, Aug 15, 2005 at 10:47:12AM -0500, Chris St. Pierre wrote:
> There's no need to add on another application; instead, use key
> exchanges. Check out `man ssh_keygen` for more info. This page
> (http://servers.linux.com/servers/04/11/04/0346256.shtml?tid=119&tid=47)
> has a step-by-step for setting it up for rsync; you should be able to
> generalize it as necessary.
I take it you did not read the description for keychain? What keychain
allows you to do is to use keys *with a passphrase* so that even if your
keys are misappropriated, you're still safe.
This isn't to say that you absolutely need keychain - it just offers an
additional level of security that you don't get by using keys without
passphrases. In many cases, using a null key is adequate.
.../Ed
> Chris St. Pierre
>
> On Mon, 15 Aug 2005, Will McDonald wrote:
>
> >On 15/08/05, mcclnx mcc <mcclnx at yahoo.com.tw> wrote:
> >> We plan to use SCP/SFTP to transfer files from one
> >> Redhar server to another redhat server (AS 3.0).
> >>
> >> The problem is how to put "password" on batch job?
> >>
> >> Anyone hasve sample for that?
> >
> >Have a look at Keychain.
> >
> >http://www.gentoo.org/proj/en/keychain/index.xml
> >
> >There are RPMs in the DAG repositories.
> >
> >Will.
> >
> >--
> >redhat-list mailing list
> >unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> >https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program
More information about the redhat-list
mailing list