in reply to SCP help
If it's not an interactive kind of script, you could try copying the public key to the authorized keys file. ssh without password linux
But, here the problem is in your syntax.