SUMMARY: sftp2

From: mahmod kokaje (mkokaje2000@yahoo.com)
Date: Thu Feb 03 2005 - 02:10:59 EST


many thanks to Alan Pearson for fast reply:
the answer is:
> The easiest way to do this is to forget username /
> passwords completly
> and use ssh keys for authentication.
> This is really easy :
>
> First run ssh-keygen on the source machine to
> generate your PUBLIC key
> (give blank passphrase when asked)
> Then, add your public key which you just created to
> the end of the
> .ssh/authorized_keys file on the TARGET machine.
>
> hey presto ! No password problems, and completly
> secure logins using
> key based authentication !
>
> Do a google search for ssh-keygen, or a man ssh
> will show you the
> proceedure.
>
> HTH
> ---
> AlanP
>
>
> On 2 Feb 2005, at 15:59, mahmod kokaje wrote:
>
> > Hi admins,
> > running tru64 V5.1A,
> > I would like to use sftp2 commnad in script file,
> > I read the man page but I couldnt find how can I
> pass
> > the user name and password to sftp2,
> > thanks in advance,
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - 250MB free storage. Do more. Manage
> less.
> > http://info.mail.yahoo.com/mail_250
> >
> >
>
>

                
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:14 EDT