Cleaned up the ssh validation script