Re: how to automate scp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gurdeep Singh wrote:

>Hello,
>
>Can anyone guide me on automating SCP.
>
>I wish to transfer files through SCP twice daily, as an automated cron
>job.
>Can anyone help me with a script which will do this.
>I wish to use SCP with password only.
>
>Regards,
>
>Gurdeep
>
>
>------------------------------------------------------------------------
>     To unsubscribe email security-discuss-request@linuxsecurity.com
>         with "unsubscribe" in the subject of the message.
>
>
>  
>
it's been awhile since I did this, but you should look into generating 
ssh-keygen to have the DSA/RSA key to the target so that you don't have 
to worry about password authentication since it's already received the 
key exchange between the service.  I did this just ssh running a 
specific cron jobs, but try "man ssh-keygen"...  ** gene



------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux