channel_connect_to_path
Channel *channel_connect_to_path(struct ssh *, const char *, char *, char *);
c = channel_connect_to_path(ssh, target,