Configure public key authentication, when password authentication is disabled

Boopalan

New Member
Joined
Feb 7, 2022
Messages
3
Reaction score
0
Credits
33
In a Linux system, "PasswordAuthentication" is disabled in "sshd_config" file, and "PubkeyAuthentication" is enabled.

System admin user creates new Linux user on the system. How the new user ssh to the system? Because password authentication is already disabled.

And if the new user generates public key in his local machine, and try to place in the Linux system, he could not place. Because currently both Public key authentication and password authentication will not work.

Is there any workaround exists, to overcome this scenario?
 

Members online


Top