Revert "fix for #870 ssh connection hand"

This reverts commit dfe80315bb087b7a0e75ca27b33c54e5e65d315d.