ssh_setup_portfwd() should usually be looking at the new cfg, not the old