Project

General

Profile

Actions

Bug #10784

closed

HA-sync with ssh keys

Added by Mark De Souza about 4 years ago. Updated over 2 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:
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

Actions

Also available in: Atom PDF