[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: how to automate scp



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.


[Home]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Video for Linux]     [Bugtraq]     [USB]     [Network Security]     [Fedora Security]

Add to Google Powered by Linux