SSH Password less Access between Windows and WSL for Barman Backups

kamal Srinivas 0 Reputation points
2024-10-08T13:28:50.6433333+00:00

Hello,

I have a Windows machine with PostgreSQL database server and WSL (Ubuntu 22.0.4) set up installed in it. I'm using Barman inside WSL for taking PostgreSQL backups. I have configured SSH between the Barman user in WSL and the Windows system user by copying the SSH keys between them. However, I'm still being prompted for passwords when accessing either system from the other via SSH.

How can I achieve password less SSH access between Windows and WSL to streamline my Barman backup process?

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,823 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.