Skip to content

Cannot add SSH key to user #974

Closed
Closed
@donbecker

Description

@donbecker
  • Gitea version (or commit ref): 1.0.1, windows-4.0-amd64
  • Git version: 2.10.2
  • Operating system: Win Server 2016
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Attempting to add an SSH key to a user results in a 505 error.

Log entry:

2017/02/18 11:46:48 [...ters/user/setting.go:359 SettingsSSHKeysPost()] [E] AddPublicKey: addKey: 'ssh-keygen -lf C:/Users/svcgitea/AppData/Local/Temp/761363500/id_rsa.pub' failed with error 'exec: "ssh-keygen": executable file not found in %PATH%': exec: "ssh-keygen": executable file not found in %PATH%

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/not-a-bugThe reported issue is the intended behavior or the problem is not inside Gitea

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions