FG
💻 Software

OpenSSH server refuses to accept key authentication

Fresh7 days ago
Mar 15, 202659302 views
Confidence Score0%
0%

Problem

I tried to use public key authentication on my new server, and I came across this problem. and then I have to input my password to get logged in. But, if I already have one session connected to that server (which is connected by password), then the following connection uses key auth to avoid passwo…

Error Output

$ ssh -v -i .ssh/server 192.168.1.100
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data .ssh/config
debug1: Applying option…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: OpenSSH server refuses to accept key authentication

Low Risk

Check that your folder and the files inside it on the client machine are only readable by the owner ( ) and that the owner is correct for the folder and files (use command if necessary). Also check the folder and file on the server (probably in or t…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment