ssh_utils: allow func= arg to call
cmd_util: run_editor