If $H$ has infinite dimension, the shift operator under a base is Fredholm with index $-1$. As $ind$ is a groups homomorphism between $\text{Fredholms}/\text{Compact}$ and $\mathbb{Z}$, and $-1$ is a generator of $\mathbb{Z}$, this proves that $ind$ is indeed surjective.