I decided to dust off my Beaglebone Black Rev.C and figured before I do much of anything, I should get everything up to date. I created an SD card with the new Debian 8.3 image and installed it. No problem.
Using TeraTerm from my Windows 8.1 machine to ssh into the BBB kept ending badly with me apparently getting booted off by the ssh-server. Ugh. So, I fire up a Kali Linux VM and ssh in from there. Pretty much the same. Edit
/etc/ssh/ssh_config and added
ServerAliveInterval 60. Still getting dropped, but ran
apt-get update to completion without getting dropped. Next, I tried
apt-get upgrade and it chugged along for quite a long time and then dropped me.
It's been some time and there seems to be no traffic on the LAN that would indicate that
apt-get upgrade is still doing anything, but
/var/lib/dpkg/ is locked. The process is probably waiting for input from a shell that vaporized.
- Is there a way to resolve this politely or should I just reboot?
- What's to stop this from repeating ad nauseam? How can I keep my ssh session alive for sure for sure?