# HG changeset patch # User RhodeCode Admin # Date 2023-01-11 20:11:30 # Node ID 01f1016674efcfda1300cbfc4c66b4d725bf49f6 # Parent ad0bb35b7f8994858c77364798c2ec1fdc860ac3 ssh: rollback temp changes as it creates even more problems with cross drive linking diff --git a/rhodecode/apps/ssh_support/utils.py b/rhodecode/apps/ssh_support/utils.py --- a/rhodecode/apps/ssh_support/utils.py +++ b/rhodecode/apps/ssh_support/utils.py @@ -53,7 +53,7 @@ def _generate_ssh_authorized_keys_file( authorized_keys_file_path = os.path.abspath( os.path.expanduser(authorized_keys_file_path)) - tmp_file_dir = tempfile.gettempdir() + tmp_file_dir = os.path.dirname(authorized_keys_file_path) all_active_keys = get_all_active_keys()