How to disable SSH password login?
Hi Omega Team,
I wana disable the root account login via SSH by password.
Could you tell how to do it?
I can not find the sshd config file at "/etc/ssh/sshd_config".
// disable ssh text password login(private key file login only).
Stefano P. last edited by
Maybe it is not possible (for security reasons, I suppose)... Are you sure you want to do it?
I suggest to set up a key-based ssh login if putting every time the password is annoying to you.
Hi, is there a guide somewhere to setting up a key based login on the omega2?
Luciano S. last edited by Luciano S.
@Luciano-S. :thumbsup_tone2: Thank you! It works well.
$ uci export dropbear $ uci set dropbear.@dropbear.PasswordAuth=0 $ uci set dropbear.@dropbear.RootPasswordAuth=0 $ uci commit dropbear $ uci export dropbear $ cat /etc/config/dropbear $ /etc/init.d/dropbear restart
@Stefano-P. Thanks for your reply : )