Tyggerjai
Posts: 14
Joined: Sat Jan 07, 2012 2:22 am

Autostart telnetd/sshd?

Mon Jun 15, 2015 4:21 am

Hi. I've had no problems installing and booting the 9pi image for rpi2, it's great! I'd like to telnet or ssh into the pi, though, from a linux machine. The plan9 documentation for sshd requires editing /etc/ssh/sshd_config, but I have no /etc folder, and trying to create one results in permission problems (cannot create folder on mounted disk?)

I have the telnetd binary, but running it doesn't quite do what I expect - if I try

ip/telnetd -t -u glenda
which is what I expect to result in a telnetd accepting any connection and "logging in" as glenda, then that results in a *local* login saying "cpu%" on the rpi.

Any ideas? All the documentation I've found suggests one of the two above approaches.

Ultimately, I'm hoping to set up a plan9 cluster on a few pis - I gather the networking between them is more straightforward, but it would be nice to connect to the master CPU node from outside.

Thanks in advance!

Return to “Plan 9”