aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar chenxiaoqino <chenxiaoqino@gmail.com>2016-06-10 10:05:45 +0800
committerGravatar John Hood <cgull@glup.org>2016-11-19 17:31:29 -0500
commit0c2088d1dab98b56d271b22abfba0958be60692e (patch)
tree1de10523da881cffbaa40212a4f4b0900c839573 /scripts
parent94027efc455855d4ed777048ad2e8fef73ef02d8 (diff)
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?
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mosh.pl2
1 files changed, 1 insertions, 1 deletions
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