scp host1:file1 host2:file2 -> Permission denied??????
Daniel Tourde
ted at foi.se
Thu May 27 23:30:54 EST 2004
Hello Ben,
Thanks for your answer.
> scp host1:file host2:file is like saying:
>
> ssh host1 "scp file host2:file"
Yes. I know that, considering that I am already on host1, a simple "scp
file1 host2:file2" could also do the trick, somehow.
> As a result the method of authentication between host1 and host2 MUST NOT
> require a tty. You can use public key with ssh-agent, but you can't be
> prompted for a password or any interactive authentication.
This is were you are loosing me.
Is there a fondamental difference between:
scp host1:file1 host2:file
and
scp file1 host2:file ?
If yes, what is it then and how a system is supposed to be configured to
make it work whatever the user types.
--
***********************************************************************
Daniel TOURDE E-mail : daniel.tourde at foi.se
Tel : +46 (0)8-55 50 43 44
Cellular : +46 (0)70-849 93 40
FOI, Swedish Defence Research Agency; Aeronautics Division - FFA
Dept. of Wind Energy and Aviation Environmental Research
SE-172 90 Stockholm, Sweden Fax : +46 (0)8-25 34 81
***********************************************************************
More information about the openssh-unix-dev
mailing list