code: def test_ssh_git_props():
      remote_url = "ssh://datalad-test"
      manager = SSHManager()
      ssh = manager.get_connection(remote_url)
      # Note: Avoid comparing these versions directly to the versions in
      # external_versions because the ssh://localhost versions detected might
      # differ depending on how git-annex is installed.
      ok_(ssh.get_annex_version())
      ok_(ssh.get_git_version())
      manager.close()
  
file_path: datalad/datalad/support/tests/test_sshconnector.py
imports: import logging
  import os.path
  from os.path import exists, getmtime, isdir
  from os.path import join
  from datalad.tests.utils_pytest import SkipTest, assert_false, assert_in, assert_is_instance, assert_raises, eq_, get_most_obscure_supported_name, get_ssh_port, ok_, patch_config, skip_if_on_windows, skip_nomultiplex_ssh, skip_ssh, swallow_logs, with_tempfile, with_tree
  from datalad.utils import Path
  from ..sshconnector import MultiplexSSHConnection, MultiplexSSHManager, NoMultiplexSSHConnection, SSHConnection, SSHManager, get_connection_hash, sh_quote
label_desc: Use image node_id 8 for calling a global function with example usage: test_ssh_git_props() without return types