opal_common/git/repo_cloner.py
def _provide_git_ssh_environment(self):
        """
        provides git SSH configuration via GIT_SSH_COMMAND.

        the git ssh config will be provided only if the following conditions are met:
        - the repo url is a git ssh url
        - an ssh private key is provided in Repo Cloner __init__
        """
        if not is_ssh_repo_url(self.url) or self._ssh_key is None:
            return None # no ssh config
        git_ssh_identity_file = self._save_ssh_key_to_pem_file(self._ssh_key)
        return {
            "GIT_SSH_COMMAND": f"ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i {git_ssh_identity_file}",
            "GIT_TRACE": "1",
            "GIT_CURL_VERBOSE": "1"
        }

        provides git SSH configuration via GIT_SSH_COMMAND.

        the git ssh config will be provided only if the following conditions are met:
        - the repo url is a git ssh url
        - an ssh private key is provided in Repo Cloner __init__
        
provides git SSH configuration via GIT_SSH_COMMAND.
the git ssh config will be provided only if the following conditions are met:
the repo url is a git ssh url
an ssh private key is provided in Repo Cloner __init
provides git SSH configuration via GIT_SSH_COMMAND . the git ssh config will be provided only if the following conditions are met : the repo url is a git ssh url an ssh private key is provided in Repo Cloner __init
def _provide_git_ssh_environment(self):
        if not is_ssh_repo_url(self.url) or self._ssh_key is None:
            return None 
        git_ssh_identity_file = self._save_ssh_key_to_pem_file(self._ssh_key)
        return {
            "GIT_SSH_COMMAND": f"ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i {git_ssh_identity_file}",
            "GIT_TRACE": "1",
            "GIT_CURL_VERBOSE": "1"
        }
def _provide_git_ssh_environment ( self ) : if not is_ssh_repo_url ( self . url ) or self . _ssh_key is None : return None git_ssh_identity_file = self . _save_ssh_key_to_pem_file ( self . _ssh_key ) return { "GIT_SSH_COMMAND" : f"ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i {git_ssh_identity_file}" , "GIT_TRACE" : "1" , "GIT_CURL_VERBOSE" : "1" }
provides git SSH configuration via GIT_SSH_COMMAND.
provides git SSH configuration via GIT_SSH_COMMAND .
"""
        provides git SSH configuration via GIT_SSH_COMMAND.

        the git ssh config will be provided only if the following conditions are met:
        - the repo url is a git ssh url
        - an ssh private key is provided in Repo Cloner __init__
        """ # no ssh config
self