scp host1:file1 host2:file2 -> Permission denied??????
Daniel Tourde
ted at foi.se
Thu May 27 22:44:37 EST 2004
Hello,
I have a stupid problem with scp and I can't find where it comes from. I
am running 3 machines here with RedHat 7.3, RedHat 8 and RedHat 9. The 3
of them have openssh-3.7.1p2 (built from the SRPMS found on the openssh
web site).
I have though a problem to run a command of the type 'scp host1:file1
host2:file2' (my ssh being correctly setup):
[ted at papeete ~]$ scp papeete.foi.se:~/nils_holgersson_airline.jpg
cherbourg.foi.se:~
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
lost connection
when the following works perfectly...
[ted at papeete ~]$ scp ~/nils_holgersson_airline.jpg cherbourg.foi.se:~
nils_holgersson_airline.jpg
100% 4813 0.0KB/s 00:00
the following works flawlessly as well:
[ted at papeete ~]$ ssh papeete.foi.se
[ted at papeete ~]$
[ted at papeete ~]$ ssh papeete
[ted at papeete ~]$
[ted at papeete ~]$ ssh cherbourg.foi.se
[ted at cherbourg ~]$
[ted at papeete ~]$ ssh cherbourg
[ted at cherbourg ~]$
The /etc/ssh/ssh_config and /etc/ssh/sshd_config have not been modified.
They are exactly the ones obtained from the compilation of the SRPMS.
So, I am clueless about the reason of this stupid problem. Needless to
say that for an application using 'scp' heavily I need a working 'scp
host1:file1 host2:file2'
Has anyone any idea?
Daniel Tourde
--
***********************************************************************
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