added check if ssh-key exists