Sorry for necromancing this thread, but I've just spent a little while trying to solve this issue and the suggestions of logind.conf didn't help. I'm using Angstrom from a few years ago, and I did find the solution finally to this problem and thought I'd share : I actually had to edit the dropbear config to get this to work. The basic idea is to edit /lib/systemd/system/dropbear\@.service and add a line right at the end that reads "KillMode=process" (yes this seems like it would kill processes on logout, but in fact it ~doesn't~ do this when you add this line, cool huh). Then reboot to apply.
root@beaglebone:/lib/systemd/system# cat dropbear\@.service [Unit] Description=SSH Per-Connection Server Requires=dropbearkey.service After=syslog.target dropbearkey.service [Service] ExecStart=-/usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -p 22 ExecReload=/bin/kill -HUP $MAINPID StandardInput=socket KillMode=process > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/538514e7-2ae7-483f-a131-ad934ade0f6a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
