fix ssh key authentication bug