Switch from child processes to ssh2