FG
💻 Software

SSH still asks for password after setting up key based authentication

Fresh5 days ago
Mar 15, 202638244 views
Confidence Score0%
0%

Problem

I have successfully created a key based auth for root user from my A machine to my B machine. Now, I created a new user on B machine, the same as on A machine, let's call him . I created a home dir for him on B machine and I want to create key based auth for him from machine A to B machine. So, I r…

Error Output

debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred gssapi…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: SSH still asks for password after setting up key based authentication

Low Risk

I have found a solution. There was an issue in permissions. on remote machine was granted all permissions, but for key based auth it must be set to 755

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment