aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
Commit message (Collapse)AuthorAge
* Rename VERSION to VERSION.stampGravatar Alex Chernyakhovsky2023-07-30
| | | | | -I$(top_srcdir) is not usable on macOS due to a conflicting C++ header `version`.
* Don't sometimes hang just after launching sshGravatar Kalle Samuels2021-10-28
| | | | | | | | | 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.
* configure: Set language to C++ globallyGravatar Anders Kaseorg2019-10-02
| | | | | | | As of commit dd941df19d92e4122aec035e03c5c7a63cd7459b, we no longer build any plain C, except within AM_PROG_AR. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* mosh.pl: Allow shell expansion of --server with --localGravatar Anders Kaseorg2017-12-02
| | | | | | Fixes #946, matching the behavior of --server without --local. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* mosh.pl: Fix the error message if getaddrinfo is missingGravatar Anders Kaseorg2017-10-26
| | | | Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* Add Perl compileGravatar John Hood2017-10-25
| | | | | This helps catch Perl syntax/version/dependency issues at build time rather than run time.
* Rename and document --predict-overwrite.Gravatar John Hood2017-08-02
|
* Allow non-inserting prediction.Gravatar John Hood2017-08-02
| | | | | | | | 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.
* Restore perl 5.8.8 supportGravatar Alexander Chernyakhovsky2017-03-26
| | | | | | 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.
* Revert "Start ssh with -f instead of -n to avoid ssh hangs."Gravatar John Hood2017-01-04
| | | | | | | | | 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.
* Start ssh with -f instead of -n to avoid ssh hangs.Gravatar John Hood2016-12-02
| | | | This seems to resolve #833.
* Clarify that -p does not affect SSH portGravatar Ashish Gupta2016-11-19
|
* Add a little hint for first-time usersGravatar chenxiaoqino2016-11-19
| | | | | | | | | | 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?
* Make all commands properly support --help and --versionGravatar Anders Kaseorg2016-11-19
| | | | | | | | 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>
* Restore Perl 5.10 supportGravatar Anders Kaseorg2016-11-12
| | | | | | | | | | 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>
* Revert "Do not close stdin on ssh session."Gravatar John Hood2016-11-11
| | | | This reverts commit 45c521d632a742ce35a15970df3a34fbd5d2de67.
* Do not close stdin on ssh session.Gravatar John Hood2016-11-06
| | | | This helps with #819.
* Fix most shell hygiene issues found by shellcheckGravatar Anders Kaseorg2016-11-04
| | | | Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* Add --no-ssh-pty option.Gravatar John Hood2016-09-19
| | | | | | 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.
* Allow server to bind an OS-selected UDP port with `-p 0`.Gravatar John Hood2016-09-19
| | | | | It looks like Mosh used to be able to do this but the capability was lost when port ranges were added in 141ec23.
* http -> https links for mosh.orgGravatar Keith Winstein2016-08-12
|
* Update website location (mosh.mit.edu -> mosh.org)Gravatar Keith Winstein2016-08-12
|
* Add options to prefer v4 or v6 on connect; make prefer-inet the default.Gravatar John Hood2016-07-10
| | | | Resolves #764, mostly.
* Make OS X mDNS/Bonjour .local IPv6 addresses work.Gravatar John Hood2016-06-09
| | | | | | 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.
* bind-server: accept any value to option.Gravatar Robin H. Johnson2016-06-09
| | | | | | | | | 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>
* mosh.pl: restore compatibility with older Socket module.Gravatar John Hood2016-05-24
| | | | | | | Also require Perl 5.14, which is the new compatibility floor. Fixes #758.
* --experimental-remote-ip=local: Substitute the IP more carefullyGravatar Anders Kaseorg2016-05-09
| | | | | | | | 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>
* Display original command line argv via no-op flag.Gravatar Jaeho Shin2016-05-08
| | | | | | | | | | | 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.
* Enforce SHELL=/bin/sh for more reliable SSH proxy command.Gravatar John Hood2016-05-08
|
* Add --experimental-remote-ip option.Gravatar John Hood2016-05-08
|
* Use server's $SSH_CONNECTION if ProxyCommand isn't run.Gravatar John Hood2016-03-30
| | | | | This is an alternate way to resolve #417 without affecting backward compatibility.
* mosh.pl: use single quotes where appropriateGravatar John Hood2016-03-30
|
* Better, more flexible handling for IPv4/IPv6.Gravatar John Hood2016-03-30
| | | | | | | | Add --family=auto/all. Attempt connects to all available addresses. Working error handling. Fixes #629.
* mosh-server: Support timeouts on lost connectivity to network client.Gravatar John Hood2015-11-24
| | | | Closes #690.
* mosh.pl: Run ssh directly instead of via shGravatar Anders Kaseorg2015-11-01
| | | | Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* mosh: implement --local option for use without sshGravatar John Hood2015-10-03
|
* scripts/mosh: Make the generated file executable.Gravatar John Hood2015-05-31
|
* scripts/mosh: Fix hang when remote closes the connectionGravatar Anders Kaseorg2015-05-28
| | | | Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* mosh.pl: Add a better error message for IPV6 & Socket::IP.Gravatar John Hood2015-05-28
|
* scripts/mosh: Allow IO::Socket::INET6 as an alternative to IO::Socket::IPGravatar Anders Kaseorg2015-05-28
| | | | | | | Some systems have IO::Socket::INET6 preinstalled, so we might as well accept either. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* mosh.pl: Make syntax valid before Makefile edits.Gravatar John Hood2015-05-28
|
* Add git commit version infoGravatar john hood2015-05-25
|
* scripts/mosh: Add -6 option to connect with IPv6Gravatar Anders Kaseorg2013-08-17
| | | | Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* scripts/mosh: Let IO::Socket resolve the hostnameGravatar Anders Kaseorg2013-08-17
| | | | Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* Rename --bind-ip to --bind-server, add =ANY option, add error checking.Gravatar Keith Winstein2013-04-28
| | | | Closes #415.
* mosh perl wrapper: New option --bind-ip={ssh|IP}Gravatar Philipp Haselwarter2013-04-28
| | | | | | Allow overriding the switch passed to mosh-server from -s to -i IP. Signed-off-by: Philipp Haselwarter <philipp@haselwarter.org>
* Simplify pipe managementGravatar Anton Lundin2013-04-09
| | | | We don't need to write perl like C.
* Bump version to 1.2.4aGravatar Keith Winstein2013-03-27
|
* Bump version to 1.2.4Gravatar Keith Winstein2013-03-27
|
* mosh Perl wrapper: Downgrade Perl regex to avoid named captureGravatar Keith Winstein2013-03-10
| | | | (Failed on Perl 5.8 with OS X 10.5)