Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
Old 3rd February 2008, 02:28 AM
vonedaddy Offline
Registered User
Join Date: Oct 2007
Posts: 149
scp and passing passwords

OK, I have done some searching and could not come up with an answer for this.

First off, I am trying to make a script that will scp a file to a remote server every day. I need to pass my password off to the scp command but cant get it to work.

BTW, I do not have access to make auth keys on the server so that is not an option.

I have tried

echo 'password' | scp file2 user@host.com:file2

it doesnt work

I have also tried using the sleep command in my script, dont work... Any help would be appreciated.

Reply With Quote

passing, passwords, scp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing through DNS requests? Doward Servers & Networking 4 18th May 2009 12:18 AM
Passing by to say hi :) LDC Wibble 12 19th March 2009 12:54 PM
PHP Help: Passing a connection. savorxit Programming & Packaging 2 18th June 2008 06:36 PM
Passing variables ColonelPenguin Programming & Packaging 2 13th February 2007 04:17 AM
PHP not passing variables Bone Programming & Packaging 4 5th May 2006 05:20 PM

Current GMT-time: 21:22 (Monday, 21-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat