Cobra Forum

Linux => New to Ubuntu => Topic started by: mahesh on Sep 07, 2023, 03:25 AM

Title: Configure public key authentication, when password authentication is disabled
Post by: mahesh on Sep 07, 2023, 03:25 AM
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?