From 0c2088d1dab98b56d271b22abfba0958be60692e Mon Sep 17 00:00:00 2001 From: chenxiaoqino Date: Fri, 10 Jun 2016 10:05:45 +0800 Subject: [PATCH] Add a little hint for first-time users I was recommended to use mosh as "an in-place replacement for ssh" by my friends, and take a while to figure out the message until I realized I missed the line "The Mosh package should be installed on both the client and server." If this line often corresponds to missing server-side installation, rather than other mysterious scenario, how about adding a hint? --- scripts/mosh.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mosh.pl b/scripts/mosh.pl index cb74405..9d84a51 100755 --- a/scripts/mosh.pl +++ b/scripts/mosh.pl @@ -445,7 +445,7 @@ if ( $pid == 0 ) { # child if ( $bad_udp_port_warning ) { die "$0: Server does not support UDP port range option.\n"; } - die "$0: Did not find mosh server startup message.\n"; + die "$0: Did not find mosh server startup message. (Have you installed mosh on your server?)\n"; } # Now start real mosh client