updating other functions for ssh keys