Fix use of targetPort for scp commands

We must treat scp commands specially, since the port option is -P for scp,
not -p.