channel_permit_all
void channel_permit_all(struct ssh *, int);
channel_permit_all(ssh, FORWARD_LOCAL);
channel_permit_all(ssh, FORWARD_REMOTE);