Refactor ssh protocol code

Include fixes for clonezone comments:

    - use Fig::ExternalProgram instead of ``
    - add "-n" option to ssh command line
    - use better error messages
    - fix new class and function comments