changes ssh key script to use github api