Rewrote ssh key adds as a while loop