[CentOS] chmodding SCP

Tue Feb 21 18:30:08 UTC 2012
Turnbough, Bradley E. <bturnbough at belcan.com>

I have two machines, and I am trying to copy files from one to the other via SCP.

Since this machine is accessible from two of our networks, we're trying to restrict the use of SCP to a select few individuals to prevent unauthorized data transmission from network to network.

What we did was we chmodded 700 /usr/bin/scp.  The owner has remained root and the group has remianed root.

>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.

Anyone have a logical explanation?

This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated.