# Select ssh true in PkgTemplates.jl

**URL:** <https://discourse.julialang.org/t/select-ssh-true-in-pkgtemplates-jl/101205>\
**Category:** General Usage\
**Tags:** pkgtemplates\
**Created:** [July 5, 2023, 11:09am UTC](https://discourse.julialang.org/t/select-ssh-true-in-pkgtemplates-jl/101205 "2023-07-05T11:09:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Post date:** [July 5, 2023, 11:09am UTC](https://discourse.julialang.org/t/select-ssh-true-in-pkgtemplates-jl/101205/1 "2023-07-05T11:09:33Z")

</div>

Hello,

I am trying to create a new package with PkgTemplates for a repo that uses ssh. After going through the documentation, It is not clear how to set ssh to true for the Git plugin. How can this be accomplished?

Thanks!

---

<div class="post-metadata">

**Author:** ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Post date:** [July 5, 2023, 11:12am UTC](https://discourse.julialang.org/t/select-ssh-true-in-pkgtemplates-jl/101205/2 "2023-07-05T11:12:23Z")

</div>

Sorry. False alarm. I found the answer.

**Update**

In the documentation, I found an example showing how to edit the Git object. However, I am having trouble selecting the correct configuration. I am using ssh. Outside of PkgTemplates, it is working correctly, and using the key. However, with PkgTemplates, it is asking for the password which suggests it is not finding the ssh key. Here is what I am doing:

```julia
using PkgTemplates
t = Template(user="MyUserName", 
        host = "git@gitlab.info.removed", 
        plugins=[
            License(; name="MIT"),
            Git(; ssh=true),
            Codecov(),
            Documenter{GitHubActions}(),
            Develop(),
        ],)

t("MyPackage")

```

In the above, I removed the exact host name. Do I need to do something else to direct it to the ssh key path?
