I was able to do it this way in Drupal 8:
'#states' => array(
'required' => array(
array(':input[name="host_info"]' => array('value' => 'SSH2')),
),
),
'#states' => [
'required' => [
[':input[name="host_info"]' => ['value' => 'SSH2']],
],
],
Don't put t('SSH2').t('SSH2')
this will put the translation of it there instead of the value of the option which is an untranslated SSH2.
I suspect that this would work for Drupal 7 too.