Co wrapper for ssh2