test to validate ssh key