# Julia package documentation “Load key: invalid format”

**URL:** <https://discourse.julialang.org/t/julia-package-documentation-load-key-invalid-format/54461>\
**Category:** General Usage\
**Tags:** package\
**Created:** [February 2, 2021, 2:08pm UTC](https://discourse.julialang.org/t/julia-package-documentation-load-key-invalid-format/54461 "2021-02-02T14:08:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangjie212](https://avatars.discourse-cdn.com/v4/letter/w/76d3ee/32.png) [@wangjie212](https://discourse.julialang.org/u/wangjie212)\
**Post date:** [February 2, 2021, 2:08pm UTC](https://discourse.julialang.org/t/julia-package-documentation-load-key-invalid-format/54461/1 "2021-02-02T14:08:34Z")

</div>

I followed the hosting documentation (Documenter.jl) to deploy the documentation for the TSSOS Julia package. But I got the following error in the workflow (GitHub Actions):

> Failed to add the RSA host key for IP address ‘140.82.112.3’ to the list of known hosts (/home/runner/.ssh/known\_hosts).  
> Load key “/home/runner/work/TSSOS/TSSOS/docs/.documenter”: invalid format  
> [git@github.com](mailto:git@github.com): Permission denied (publickey).  
> fatal: Could not read from remote repository.  
> Please make sure you have the correct access rights  
> and the repository exists.  
> ┌ Error: Git failed to fetch [git@github.com](mailto:git@github.com):wangjie212/TSSOS.git  
> │ This can be caused by a DOCUMENTER\_KEY variable that is not correctly set up.  
> │ Make sure that the environment variable is properly set up as a Base64-encoded string  
> │ of the SSH private key. You may need to re-generate the keys with DocumenterTools.  
> └ @ Documenter ~/.julia/packages/Documenter/FuXcO/src/Documenter.jl:554

Any idea to fix this issue? I use the Windows 10 system and the key pair was generated by DocumenterTools.genkeys.
