--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -325,6 +325,10 @@ void cli_getopts(int argc, char ** argv)
 				case 'b':
 					next = &bind_arg;
 					break;
+				case 'x':
+					/* compatibility with openssh cli
+					 * ("-x" disables X11 forwarding) */
+					break;
 				default:
 					fprintf(stderr,
 						"WARNING: Ignoring unknown option -%c\n", c);
