Why I can not run scp over 2 remote machines

linq936_at_hotmail.com
Date: 10/13/05


Date: 12 Oct 2005 17:47:16 -0700

Hi,
  Let us say there are 3 machines, m1, m2 and m3.
  m1 is PC running WinXP with cygwin on it. sshd is running on it.
  m2 and m3 are linux machines.
  I am operating on m2.
  If I run scp to copy files between m1 and m2 or m2 and m3, there is
no problem.
  I also tried run ssh to login m1 from m3, there is no problem.
  But the problem is when I run this command at m2, it does not work,

  scp m3:some_file m1:some_file

  I am asked the password of login m3, but then I see "Permission
denied (publickey,password,keyboard-interactive)".

  Any idea?

Thanks.


Quantcast