Turnbough, Bradley E. wrote:
> I have two machines, and I am trying to copy files from one to the other
> via SCP.
<snip>
>>From a different machine, I'm trying to scp to that machine, but I'm
>> receiving an "access denied".
>
> My ssh key is in the authorized users file in the root profile.
<snip>

So your setup is while setting at host1 you execute
scp root@host3:myfile root@host2:
and get "access denied"?

further I expect you are using ssh-agent.

if so, I expect it has something to do with scp dropping agent forwarding.
search 'scp agent forwarding'
I once found a script to work around it, but that is painful.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to