Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

morawcik's avatar

Allow to login with passwords

Hi.

How I can allow one account to login with password? Sometime I have to connect to server from public pc an it would be better for me to connect with pass instead of key.

0 likes
3 replies
rawilk's avatar

Shell into your server, and then edit /etc/ssh/sshd_config. Change PasswordAuthentication to yes

rawilk's avatar

Also be sure to run sudo systemctl restart sshd after modifying the configuration

Please or to participate in this conversation.