Skip to content

Commit

Permalink
Add a little hint for first-time users
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
chenxiaoqino authored and cgull committed Nov 19, 2016
1 parent 94027ef commit 0c2088d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mosh.pl
Expand Up @@ -445,7 +445,7 @@ sub predict_check {
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
Expand Down

0 comments on commit 0c2088d

Please sign in to comment.