sudo for ssh-copy-id instead of su

su allocates no tty making the ssh password prompt fail for the
non-root user