Re: scp
On Wed, 14 Mar 2001 16:13:18 +0100
Florian Steurer <florian.steurer@alcatel.ch> wrote:
> hi!
> I try to write a backup (shell-)script and use the "scp"-command. It
> asks for a password, how can I automize the passwort prompt -> I mean
> that the password is direct read from the shell script, without
> prompting. I tried something with pipes and > < , but doesn't work. I
> also tried the -B option...without any success...
> thanks for helping
If you set up correctly the files on ~/.ssh, you shouldn't need a
password at all, although it won't work for root. But I didn't try it. YMMV.
--
Christoph Simon
datageo@terra.com.br
---
^X^C
q
quit
:q
^C
end
x
exit
ZZ
^D
?
help
shit
.
Reply to:
- Follow-Ups:
- Re: scp
- From: Carlos Laviola <claviola@ajato.com.br>
- References:
- scp
- From: Florian Steurer <florian.steurer@alcatel.ch>