Re: Providing password to scp

Dean Hamstead <[email protected]>
Newsgroups gmane.org.user-groups.slug.chat
Message-ID <[email protected]>
you could use expect to type it in for you

Dean

Andre Kolodochka wrote:
> Hi,
> 
>  
> 
> I need to set up a cron job where I grub a file from remote server and 
> place it into a directory on local server. Remote server have plain 
> username/password authentication configured.
> 
>  
> 
> SCP would do the job, but the problem is I have no idea how to provide a 
> password to scp as a parameter (versus entering it in interactive mode).
> 
>  
> 
> Any ideas apart from setting up no password certificate authentication?
> 
>  
> 
> Regards,
> 
> Andre
> 

-- 
http://fragfest.com.au
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.