[Q] SCP/SFTP batch file password problem?

Chris St. Pierre stpierre at NebrWesleyan.edu
Tue Aug 16 20:08:35 UTC 2005


You can use passphrases with ssh-keygen, too.  It's just that it's
most commonly used without one, much like Keychain.

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University

On Mon, 15 Aug 2005, Ed Wilts wrote:

>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
>
>-- 
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list