# Password authentication error when using a SSH key, for git clone

**URL:** <https://discuss.huggingface.co/t/password-authentication-error-when-using-a-ssh-key-for-git-clone/67436>\
**Category:** Beginners\
**Created:** [December 30, 2023, 12:07am UTC](https://discuss.huggingface.co/t/password-authentication-error-when-using-a-ssh-key-for-git-clone/67436 "2023-12-30T00:07:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tamsinC](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@tamsinC](https://discuss.huggingface.co/u/tamsinC)\
**Post date:** [December 30, 2023, 12:07am UTC](https://discuss.huggingface.co/t/password-authentication-error-when-using-a-ssh-key-for-git-clone/67436/1 "2023-12-30T00:07:30Z")

</div>

Although I have created a SSH key and used the SSH command, git clone is failing with “Password authentication in git is no longer supported. You must use a user access token or an SSH key instead” as shown below:

% git clone [git@hf.co](mailto:git@hf.co):TheBloke/docsgpt-7B-mistral-GGUF

Cloning into ‘docsgpt-7B-mistral-GGUF’…

remote: Enumerating objects: 61, done.

remote: Counting objects: 100% (58/58), done.

remote: Compressing objects: 100% (57/57), done.

remote: Total 61 (delta 25), reused 0 (delta 0), pack-reused 3

Receiving objects: 100% (61/61), 14.73 KiB | 4.91 MiB/s, done.

Resolving deltas: 100% (25/25), done.

Updating files: 100% (15/15), done.

Downloading docsgpt-7b-mistral.Q3\_K\_L.gguf (3.8 GB)iB/s

Error downloading object: docsgpt-7b-mistral.Q3\_K\_L.gguf (2920082): Smudge error: Error downloading docsgpt-7b-mistral.Q3\_K\_L.gguf (2920082dee3cc4cc3f4ea11075aaabf3390e4cfed1f6a37994d40898036e8940): batch response: Authentication required: Password authentication in git is no longer supported. You must use a user access token or an SSH key instead.

Errors logged to ‘…/docsgpt-7B-mistral-GGUF/.git/lfs/logs/20231229T230244.647696.log’.

Use `git lfs logs last` to view the log.

error: external filter ‘git-lfs filter-process’ failed

fatal: docsgpt-7b-mistral.Q3\_K\_L.gguf: smudge filter lfs failed

warning: Clone succeeded, but checkout failed.

You can inspect what was checked out with ‘git status’

and retry with ‘git restore --source=HEAD :/’

The SSH test works:

ssh -T [git@hf.co](mailto:git@hf.co)

Hi tamsinC, welcome to Hugging Face.

This is on a Mac

---

<div class="post-metadata">

**Author:** ![swizzcheeze](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/swizzcheeze/32/24206_2.png) [@swizzcheeze](https://discuss.huggingface.co/u/swizzcheeze)\
**Post date:** [February 25, 2024, 2:16pm UTC](https://discuss.huggingface.co/t/password-authentication-error-when-using-a-ssh-key-for-git-clone/67436/2 "2024-02-25T14:16:36Z")

</div>

still nothing? mine was working fine and then one day…nope invalid…did all you did, still can’t get anything to dowload…do the publishers have to do something too?
