Commit Graph

107 Commits

Author SHA1 Message Date
John Hood eb98976410 Add --experimental-remote-ip option. 2016-05-08 22:47:54 -04:00
John Hood dbbed24d83 Use server's $SSH_CONNECTION if ProxyCommand isn't run.
This is an alternate way to resolve #417 without affecting
backward compatibility.
2016-03-30 23:52:19 -04:00
John Hood 9dbf3b366d mosh.pl: use single quotes where appropriate 2016-03-30 23:52:19 -04:00
John Hood 389fc23205 Better, more flexible handling for IPv4/IPv6.
Add --family=auto/all.
Attempt connects to all available addresses.
Working error handling.

Fixes #629.
2016-03-30 23:52:19 -04:00
John Hood b742e958b6 mosh-server: Support timeouts on lost connectivity to network client.
Closes #690.
2015-11-24 02:36:08 -05:00
Anders Kaseorg f0f2aa7cce mosh.pl: Run ssh directly instead of via sh
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2015-11-01 01:07:21 -04:00
John Hood 448f9f1bab mosh: implement --local option for use without ssh 2015-10-03 03:43:18 -04:00
John Hood 937ab14f86 scripts/mosh: Make the generated file executable. 2015-05-31 23:09:04 -04:00
Anders Kaseorg b58e750daf scripts/mosh: Fix hang when remote closes the connection
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2015-05-28 23:41:57 -04:00
John Hood 9eeb2fbffa mosh.pl: Add a better error message for IPV6 & Socket::IP. 2015-05-28 22:49:46 -04:00
Anders Kaseorg e7903f0de2 scripts/mosh: Allow IO::Socket::INET6 as an alternative to IO::Socket::IP
Some systems have IO::Socket::INET6 preinstalled, so we might as well
accept either.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2015-05-28 22:49:46 -04:00
John Hood 14bdd8f00f mosh.pl: Make syntax valid before Makefile edits. 2015-05-28 22:49:46 -04:00
john hood f3073bbe5d Add git commit version info 2015-05-25 03:46:48 -04:00
Anders Kaseorg a4c5829812 scripts/mosh: Add -6 option to connect with IPv6
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2013-08-17 09:21:38 -04:00
Anders Kaseorg aeee659c28 scripts/mosh: Let IO::Socket resolve the hostname
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2013-08-17 09:02:45 -04:00
Keith Winstein 4792992afa Rename --bind-ip to --bind-server, add =ANY option, add error checking.
Closes #415.
2013-04-28 15:33:36 -04:00
Philipp Haselwarter fc70612de6 mosh perl wrapper: New option --bind-ip={ssh|IP}
Allow overriding the switch passed to mosh-server from -s to -i IP.

Signed-off-by: Philipp Haselwarter <philipp@haselwarter.org>
2013-04-28 15:14:47 -04:00
Anton Lundin fb39fe2c7e Simplify pipe management
We don't need to write perl like C.
2013-04-09 22:31:12 +02:00
Keith Winstein 1b9915fcaf Bump version to 1.2.4a 2013-03-27 18:36:03 -04:00
Keith Winstein 688bf21b07 Bump version to 1.2.4 2013-03-27 00:28:47 -04:00
Keith Winstein c6a8427d61 mosh Perl wrapper: Downgrade Perl regex to avoid named capture
(Failed on Perl 5.8 with OS X 10.5)
2013-03-10 22:53:05 -04:00
Keith Winstein 4668dc595f Bump version to 1.2.3.95rc1 (1.2.4 release candidate) 2013-03-10 17:52:56 -04:00
Anders Kaseorg ea3ad786fa scripts/mosh: Add --no-init option to disable alternate screen mode
Signed-off-by: Anders Kaseorg <andersk@mit.edu>

Closes #384. Closes #2.
2013-03-10 15:46:49 -04:00
Keith Winstein 8290e387af Remove dependency on IO::Pty 2013-01-18 11:50:58 -05:00
Anton Lundin 74e1a30944 Replace IO::Pty with pipe
Now when we don't need some fancy pty for sending on window-size and
reading proxy-output from, just use a regular pipe to drop dependency on
IO::Pty

[closes #378]
2013-01-18 11:31:28 -05:00
Anton Lundin e0dfe363a0 Have ssh close stdin and forceallocate pty
Somehow we still need to have a real pty on stdin to ssh so
window-size-thingie works.
2013-01-18 11:31:19 -05:00
Anton Lundin 077b664f13 Close some leftover fd's 2013-01-18 11:31:19 -05:00
Anton Lundin 2ef025c09a Dup to pty to prevent ssh from reading our stdin
Dup the pty to STDIN to prevent hour the exec'ed ssh from consuming our
early input.
Due to the fact that mosh-server copies the pty settings from the pty it
as when starting, we can't set that one to a raw.

This are probably a combination of effects cased by fcc629ac and
18dc967c.

This probably fixes #366

[Closes #369]
2013-01-16 02:16:13 -05:00
Keith Winstein 05ec364b7d Verify $port_request defined before scanning it for error purposes 2012-11-09 11:56:28 -05:00
Keith Winstein 07b2942945 Friendlier error message when server does not support UDP port range. 2012-10-29 15:35:56 -04:00
Luke Mewburn 141ec239da Support port range as -p/--port PORT[:HIGHPORT].
Extend mosh and mosh-server to support parsing a high port from
the desired_port argument.  The first (low) port must not be
greater than the second (high) port.
If only one value is provided, behaviour is as before; bind
to one port.  Also tweak the formatting in mosh-server(1) synopsis
to be consistent.

This resolves mosh issue # 296.

Signed-off-by: Luke Mewburn <luke@mewburn.net>
2012-10-29 14:59:28 -04:00
Keith Winstein 73a2675e8c Bump version to 1.2.3 2012-10-19 15:33:48 -04:00
Keith Winstein 9c34f5b279 Bump version to 1.2.2.95rc1 (1.2.3 release candidate) 2012-10-05 19:50:52 -04:00
Keith Winstein 56093d2961 Not all OpenSSH installations support GSSAPITrustDns=no, so this broke some.
This reverts commit dce0c7f880.
2012-08-12 19:57:19 +02:00
Keith Winstein dce0c7f880 Pass -o GSSAPITrustDns=no to improve (but not totally fix) Kerberos situation 2012-08-11 19:55:38 -04:00
Keith Winstein 92ecb99b71 Add OpenSSL licensing exception 2012-07-20 16:46:00 -04:00
Daniel Drown 7f0fdd5160 Issue #300: Setting PERL_UNICODE breaks everything
Mark all file descriptors involved in raw ssh traffic as binary/raw
2012-07-17 10:12:18 -05:00
Keith Winstein 5029775254 Detect bogus MOSH IP earlier (in mosh startup script). 2012-07-11 13:05:29 -04:00
Keith Winstein cd285ba28f Bump version to 1.2.2. 2012-06-12 14:56:05 -04:00
Keith Winstein 2df9e07926 Add "experimental" mode to local echo (always predict even when incorrect) 2012-06-11 13:21:44 -04:00
Keith Winstein 778b5afc50 Bump version to 1.2.1. 2012-05-25 18:07:19 -04:00
Keith Winstein 0b5a643964 Bump version to 1.2.0.97 (1.2.1 release candidate) 2012-05-23 12:19:09 -04:00
Keith Winstein 9b75ab0da7 Have Debian package install ufw and bash_completion.
Closes #248.
2012-05-23 07:23:44 -04:00
Keith Winstein fa5b48c1a9 Bump version to 1.2.0.95 (1.2.1 release candidate) 2012-05-23 03:37:25 -04:00
Keith Winstein 68575f8587 Bump version to 1.2 2012-04-26 01:40:27 -04:00
Keith Winstein ef939c75cf Bump version to 1.1.99b 2012-04-25 02:53:43 -04:00
Keith Winstein 1f1f818a29 Bump version to 1.1.99a (release candidate) 2012-04-25 02:31:15 -04:00
Keith Winstein 072863f0b9 Bump version to 1.1.99 (release candidate) 2012-04-24 23:56:05 -04:00
Keith Winstein dece595063 Bump version to 1.1.98 (release candidate) 2012-04-24 19:00:40 -04:00
Keith Winstein 8d3a3b303f Bump version to 1.1.97 2012-04-23 22:54:50 -04:00