Project

General

Profile

Bug #10784

HA-sync with ssh keys

Added by Mark De Souza 4 months ago. Updated 4 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
High Availability
Target version:
-
Start date:
07/24/2020
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.4.5
Affected Architecture:
amd64

Description

I have two pfsense boxes configured in HA sync. Synchronisation is performed by a seperate user named "ha-sync" with "System - HA node sync" permissions.

Attempting to log into the primary node with username "mark" and a ssh key, the login works correctly.

When I attempt to log into the secondary node, the attempt fails.

Logging in with a password, I can see that the ~/.ssh directory is owned by ha-sync/nobody and not mark/nobody like on the primary server.

Running: "chown -R mark .ssh" as root resolves the issue

History

#1 Updated by Viktor Gurov 4 months ago

  • Status changed from New to Feedback

Unable to reproduce it on 2.4.5-p1 and 2.5.0.a.20200728.1850 HA clusters, ~/.ssh directory owner is OK
Please give us more details about this issue

Also available in: Atom PDF