altering the ssh key management helper method for simplicity