# Public SSH Key Attribute

**URL:** <https://forum.gitea.com/t/public-ssh-key-attribute/484>\
**Category:** Install/Maintain/Configure\
**Created:** [August 8, 2018, 1:53pm UTC](https://forum.gitea.com/t/public-ssh-key-attribute/484 "2018-08-08T13:53:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![liszca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/liszca/32/4757_2.png) [@liszca](https://forum.gitea.com/u/liszca)\
**Post date:** [August 8, 2018, 1:53pm UTC](https://forum.gitea.com/t/public-ssh-key-attribute/484/1 "2018-08-08T13:53:14Z")

</div>

I have connected gitea to LDAP, user Authentication into a group is working, but I cannot use the “Public SSH Key Attribute”, its still asking for the ssh key password, which is none and shouldn’t be asked for. Is is necessary to set up a filter?

The attribute itself is working, its possible to login to the Server via SSH and a script is fetching the key from LDAP.

Git Version: 2.11.0  
./gitea --version  
Gitea version bbf9abd built with: bindata, sqlite

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/1X/941217f041d53611e8b186a8fe67dfd265c62fb7.png)

---

<div class="post-metadata">

**Author:** ![lafriks](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lafriks/32/3004_2.png) [@lafriks](https://forum.gitea.com/u/lafriks)\
**Post date:** [August 10, 2018, 8:12am UTC](https://forum.gitea.com/t/public-ssh-key-attribute/484/2 "2018-08-10T08:12:12Z")

</div>

LDAP contains only public part of the key so gitea can not control if your private key is with password or not.
