SSH and SCP require a place to store the SSH security keys used by the account under which the SCP is occurring. Normally, that's under $HOME/.ssh. You can probably override that with an scp command line option.