code: def mount_remote_repo(remote_path: str) -> Tuple[str, str]:
      """
      Utility function to mount remote repository path to local  '/tmp/<timestamp>/<remote_repo_name>' directory
      """
  
      check_sshfs_installation()
  
      (
          user,
          pwd,
          host,
          remote_repo_path,
      ) = extract_remote_user_pwd_host_repo(remote_path)
  
      # check if the current user has permissions to perform write operations on /tmp dir
      check_directory_permissions(path="/tmp")
      mount_root = f"/tmp/{int(time.time())}"
      mount_point = f"{mount_root}/{remote_repo_path}"
      os.makedirs(mount_point, exist_ok=True)
  
      login_options = f"{host}:{remote_repo_path}"
      if user:
          if pwd:
              login_options = f"{user}:{pwd}@{login_options}"
          else:
              login_options = f"{user}@{login_options}"
  
      # TODO: experiment on sshfs options to find an optimal set
      # construct sshfs options, use IdentityFile if provided by the user
      sshfs_options = "default_permissions"
      identity_file = os.environ.get("AIM_REMOTE_REPO_KEY_FILE")
      if identity_file:
          sshfs_options = (
              f"{sshfs_options},IdentityFile={identity_file}"
          )
  
      # try mounting using sshfs
      cmd = ["sshfs", login_options, mount_point, "-o", sshfs_options]
      sshfs_process = subprocess.Popen(cmd, stderr=subprocess.PIPE)
      # redirect sdterr to pipe and check if errors occurred, if not let the sshfs process run in the background
      # otherwise raise an error, kill the process and cleanup the local mount point
      if sshfs_process.stderr.readline():
          # if mounting fails remove local mount point created by Aim
          # and print the command that was used, so it'll be easier for the user to perform manual mounting
          sshfs_process.wait()
          unmount_remote_repo(mount_point, mount_root)
          raise subprocess.SubprocessError(
              f"Could not mount remote repository using command: \n"
              f'{" ".join(cmd)} \n'
              f"Please try to mount manually "
              f"and use the local mount point as a usual repo path."
          )
  
      # check if the user has permissions to perform write operations on local mount point (which means that the
      # remote user also can perform write operations on remote repo path as well)
      # unmount the local mount point in case of failure
      check_directory_permissions(mount_point, mount_root, unmount=True)
  
      return mount_root, mount_point
  
file_path: aim/aim/ext/sshfs/utils.py
imports: import os
  import platform
  import shutil
  import subprocess
  import time
  import logging
  from typing import Optional, Tuple
label_desc: Use image node_id 5 for calling a global function with example usage: mount_remote_repo(remote_path) and returns: mount_root,  mount_point