allow ssh-agent for remote connections
Merge branch '4.1' of https://github.com/luchaos/framework into luchaos-4.1
Cleaning up some code.