SSH Not Accepting Public Key
Fresh3 days ago
Mar 15, 202656110 viewsConfidence Score0%
0%
Problem
When setting up ssh keys between two machines, the authentication only works one way. One server doesn't accept the public key of the other when trying to connect. Any ideas? Here's the verbose output. EDIT: If it matters, this is for
Error Output
debug1: Reading configuration data /usr/local/etc/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: Co…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: SSH Not Accepting Public Key
Low Risk
I've just had a case where SELinux prevented sshd from reading the /root/.ssh/authorized_keys file. /var/log/messages will show you that the sshd process was denied access for read operation on the authorized_keys file. After I ran , SSH with the pu…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix