This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3354: Disable login from ssh.

Part Number: AM3354


Hi all,

I waned to disable login to my custom board which is running on linux 4.9 kernel version. i was able to remove a SystemD service file to stop the login from uart. I also want to disable the login from ssh. I found a solution on internet saying to add  PermitRootLogin no in /etc/ssh/sshd_config, the problem is i don't have a SSHD on my board i only have ssh and able to login from other Hosts. apt-get and opkg are not working so i couldn't install sshd. i tried using ipk files and there are lot dependencies and i couldn't find all of them. 

root@Htouch:/# ssh -V
Dropbear v2016.74

i don't want to disable the Ethernet and USB Ethernet,  I want them to be active and prevent login as root. 

Is there any way to prevent login other than installing the sshd  and using its config file.

Thanks,

-Kris.

  • Hi,

    The Linux kernel version is no longer actively supported. 

    It seems you are using Dropbear for an ssh server. Check out the man pages for dropbear and how to configure it and that should help. This is really a standard Linux configuration and no TI customization.