Skip to content

Using generated SSH keys from PSU #5101

@darkorion6661

Description

@darkorion6661

Description of Issue

In what seems to be perfect timing, I am setting up Git sync with GitLab today using PSU. I just updated to 5.6.2 and found we can generate keys in the PSU admin interface.

I've added this key to gitlab which worked perfectly, and I've configured the git sync in PSU to use SSH key. I had to select "external git client" for that to show up.

However, when I did this it seemed PSU couldn't find the file path to the PEM file. I ended up having to create the .ssh folder and re-create the keys which seemed to do the trick.

Now I'm trying to auth using the key and getting this error:

Git command failed with exit code 1. Errors: Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

This server should have access to the gitlab instance and as the ssh key is for my account, it has the permissions to access that repository. Do I need to add the key to the local ssh-agent in order to use the key for auth?

Version

5.6.2

Severity

Low

Hosting Method

MSI (Windows Service)

Operating System

Windows

Database

SQL

Licensed

Yes

Features

No response

Additional Environment data

No response

Screenshots/Animations

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    requires triageIssue has not yet been verified by the development team.v5Version 5 issue.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions