| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
-I$(top_srcdir) is not usable on macOS due to a conflicting C++ header
`version`.
|
|
|
|
|
|
|
|
|
| |
sshd has a bug in which the sometimes it may get stuck trying to read from the client
even though the child process has already exited. This is visible at
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/serverloop.c?annotate=1.226 line 274:
once the child is waited on, `child_terminated` is reset to 0, which causes it to use an infinite timeout
in the select there.
This workaround causes mosh to disconnect from the server, thereby allowing sshd finish.
|
|
|
|
|
|
|
| |
As of commit dd941df19d92e4122aec035e03c5c7a63cd7459b, we no longer
build any plain C, except within AM_PROG_AR.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
|
|
|
|
|
| |
Fixes #946, matching the behavior of --server without --local.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
|
|
|
| |
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
|
|
|
|
| |
This helps catch Perl syntax/version/dependency issues at build time
rather than run time.
|
| |
|
|
|
|
|
|
|
|
| |
This may be useful for users who find prediction's activity right of
the cursor distracting.
Prediction underscoring is still a little weird sometimes, it replays
a history of known/unknown changes as acks come in from the server.
|
|
|
|
|
|
| |
This is as variant of the patch I had in EL5 for a while, but forgot to upstream.
It turns out that the changes we made to support 5.10.1 are actually sufficient
for 5.8.8 if we remove unused imports, so remove them.
|
|
|
|
|
|
|
|
|
| |
This reverts commit f002e3bb3096c9c9db6b081ab3ae6cf8d453b2e6.
That commit appears to have created a race between ssh restoring
termios state and mosh-client initializing termios.
Probably fixes #844.
|
|
|
|
| |
This seems to resolve #833.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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?
|
|
|
|
|
|
|
|
| |
These should output to stdout and exit with status 0. Passing
std-options to AM_INIT_AUTOMAKE causes ‘make installcheck’ (hence also
‘make distcheck’) to verify this.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
|
|
|
|
|
|
|
|
|
| |
On Perl < 5.14, we can use Socket::GetAddrInfo from CPAN to replace the
missing getaddrinfo functionality of Socket.
Socket::GetAddrInfo < 0.22 requires :newapi in the import list, but 0.22
forbids it and enables the new API by default.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
|
|
|
| |
This reverts commit 45c521d632a742ce35a15970df3a34fbd5d2de67.
|
|
|
|
| |
This helps with #819.
|
|
|
|
| |
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
|
|
|
|
|
| |
This eliminates issues with typeahead being echoed by the remote pty
and corrupting remote output from mosh-server to the mosh script, but
cannot be made default because older mosh-servers require a pty.
|
|
|
|
|
| |
It looks like Mosh used to be able to do this but the capability was
lost when port ranges were added in 141ec23.
|
| |
|
| |
|
|
|
|
| |
Resolves #764, mostly.
|
|
|
|
|
|
| |
OS X advertises IPv6 link-local addresses for .local hostnames.
getaddrinfo() correctly reports interface identifiers for these, but we
were discarding them by using the socket peer host address instead.
|
|
|
|
|
|
|
|
|
| |
Rather than trying to validate, accept any option to the bind-server
option, and allow mosh-server to validate it, as noted by
https://github.com/mobile-shell/mosh/pull/670#issuecomment-135147605
Fixes: 669
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
| |
Also require Perl 5.14, which is the new compatibility
floor.
Fixes #758.
|
|
|
|
|
|
|
|
| |
For example, do not interpret regex metacharacters within the
hostname, and avoid accidentally matching the username part of
username@hostname when they happen to match.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
|
|
|
|
|
|
|
|
|
|
| |
Improves 679b819216e1946ebe3a6f920c0fbf61d61ab47e to make it simpler to
ignore mosh-client from OS X Terminal.app's "Ask before closing" process
list. (See: http://superuser.com/a/254647)
Moreover, the command displayed from ps is a completely functional one,
which was not the case in the previous approach, that mangles `argv[0]`.
Fixes #742.
|
| |
|
| |
|
|
|
|
|
| |
This is an alternate way to resolve #417 without affecting
backward compatibility.
|
| |
|
|
|
|
|
|
|
|
| |
Add --family=auto/all.
Attempt connects to all available addresses.
Working error handling.
Fixes #629.
|
|
|
|
| |
Closes #690.
|
|
|
|
| |
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
| |
|
|
|
|
|
|
|
| |
Some systems have IO::Socket::INET6 preinstalled, so we might as well
accept either.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
|
|
|
| |
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
|
|
|
| |
Closes #415.
|
|
|
|
|
|
| |
Allow overriding the switch passed to mosh-server from -s to -i IP.
Signed-off-by: Philipp Haselwarter <philipp@haselwarter.org>
|
|
|
|
| |
We don't need to write perl like C.
|
| |
|
| |
|
|
|
|
| |
(Failed on Perl 5.8 with OS X 10.5)
|