I have a script that is set up using ID: infa123

The script will scp files from one machine to another and only
infa123 can write to the directories.

The public key is set up so that the password is not prompted
during the scp.

I need to have a user execute this script but they would have to
use their own ID like bobjones

If the user executes the script they will get permission denied
when writting to the directories.
Also, they are not set up to use the public key to bypass the
password. Any hints.