Gentoo Archives: gentoo-user

From: LiangYun Gong <kit393@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] SCP bash script
Date: Thu, 03 May 2012 11:47:10
Message-Id: CAJk+umy_h9OQ2MrDY_JkyEb8=W8erW831y8itQ_dk5fZEySAzA@mail.gmail.com
1 Hi guys,
2
3 I have a problem with scp bash script. I was trying to automate scp command
4 to copy files in and out, and I was trying to avoid key in the password
5 myself.
6
7 So I attempt to use the "here string" feature of bash, it didn't work with
8 scp.
9
10 And those server I am working with, they don't have expect package
11 installed. :-(
12
13 ps. I am not supposed to change the configuration of the servers( includes
14 setup openssh keys, or install expect)
15
16 You guys have any idea that can help this case?
17
18 Thanks & Regards,
19 kit393

Replies

Subject Author
Re: [gentoo-user] SCP bash script Adam Carter <adamcarter3@×××××.com>
Re: [gentoo-user] SCP bash script Joshua Murphy <poisonbl@×××××.com>