Add support for ssh (closes #6)