I got this working after the following change.
The user I was using has /etc/cli.sh
set as shell. SCP requires the user to have /bin/bash set as shell.
Then I created a new user for that and make sure you issue
"set user <username> shell /bin/bash"