Problem: SSH working but SCP is not transferring files, its shows 0 byte transferred.
Fix: Its happen when you have installed minimal install and system install openssh-server but it does not install openssh-clients package.
try
yum install openssh-clients
then test if problem fixed.