added ssh key functions