My question is twofold. I need to somehow re-enable telnet and/or ssh in a device where I currently only have root ftp access. Also, if I am going about this wrong, please let me know. Details to follow...
I have a special development board running Arm Linux with the 2.6 kernel. (The device is the 9G45, but that is not really relevant to my question.) I was happily monkeying around with settings and such, I somehow caused sshd to stop working.
Upon restart, ssh connections were refused.
I have found that Lighttpd is working and serving up pages. This confirms that both network and some of the initialization works.
I have found that vsftpd is functioning and I do have root access here.
I can connect to telnet, but the documented default user named "guest" is not working. Neither is root.
Using ftp, I determined that the sshd pid file is not present, so I assume it is not running.
Unfortunately, connectiong via serial did not seem to work, but I have a support ticket out with the manufaturer, so maybe they will answer me.
Possible solutions (needs refining)
I figure that I may be able to get in through the root ftp access, monkey with an init script or something else, then possibly gain telnet access (or maybe set sshd to run later in the boot process).
I am not really sure where to go from here. If someone could build on my possible solution or propose a new one it would be greatly appreciated.