LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Passing a password to scp

[ILUG] Passing a password to scp

Dave Airlie airlied at csn.ul.ie
Fri Mar 9 11:54:58 GMT 2001


don't use password setup scp properly with identity stuff and
authorized_keys..

Dave.


On Fri, 9 Mar 2001, Ruairi Newman wrote:

> Hi all,
>
> I've written a script that takes a file, gzips it and is supposed to scp
> it up to a server on the web.  I say supposed to because I can't figure
> out how exactly to pass a password to scp automatically.
>
> I have tried:
>
> scp ./file.gz user:pass@<ip address>:/tmp/
>
> but this doesn't work.  In case it's relevant, the output from ssh -V
> is:
>
> SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0.
> Compiled with SSL (0x0090581f).
>
> Regards,
>
> Ruairi
>
>
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell