fixes, logging, and better shellcheck conformance
[distro-setup] / ssh-emacs-setup