Commit Graph

5856 Commits

Author SHA1 Message Date
d654ff2219 Send TMATE_READY message when the config files are done loading
This fixes bug where webhooks are not registering correctly, leading to
a disconnect and reconnect.
2019-09-18 23:35:07 -04:00
3e5d919b14 Bump to version 2.3.0 2.3.0 2019-07-31 21:02:18 -04:00
4e7caeb536 ssh-client: Use ssh_get_server_publickey() if possible 2019-07-30 09:57:28 -04:00
e25ab3cc8b ssh-client: Add missing ecdsa keytypes of libssh 0.9 2019-07-30 09:39:25 -04:00
299c7c670c add new channel after authentication
With libssh commit 8a885f0b ("channels: Add check if we are authenticated
before we create a channel") connection fails if channel is added before
successful authentication. So add the channel after authentication.

Fixes #154
2019-07-30 09:38:02 -04:00
fd4ac27d59 ssh-client: Don't use keys from the ssh-agent
Fixes #138

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-04-09 08:15:07 -04:00
32d48cbc9d Update ed25519 server key (not yet in production) 2019-04-07 10:30:41 -04:00
b01c6ecebd configure: Require libssh >= 0.8.4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-04-07 10:30:41 -04:00
b645ce15cb ssh-client: Add support for ed25519 keys
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-04-07 10:30:41 -04:00
2ffcbbd185 ssh-client: Use SHA256 finger prints
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-04-07 10:30:41 -04:00
72ddb7eb08 Merge pull request #139 from teancom/update-man
Update MAN page to properly reference tmate where applicable
2018-12-01 12:28:52 -05:00
25f6a934cf Update MAN page to properly reference tmate where applicable
While there are still plenty of places where tmate uses tmux, including
config files and environment variables, I have updated the various
examples to use tmate where applicable.
2018-10-23 17:39:10 -06:00
3f6c6d4447 Fix building with or without backtrace(3)
backtrace(3) and execinfo.h are GNU extensions and may or may not be
available, and they may be provided via libexecinfo.

Fix detection of libexecinfo and allow building without any support of
backtrace, in which case we let kernel create core dump.

Fixes #116 #117
2017-09-28 08:56:41 -04:00
608763a41a Attempt to fix environment related crash
Fixes #89
2016-06-14 17:08:58 -04:00
b27f3bacc0 Crash fix in search prev/next match
Fixes #87
2016-06-10 18:00:50 -04:00
27169b7c07 Add missing incldues for FreeBSD 2016-06-05 12:54:25 -04:00
fe81322cc4 Keep alive the socket to make reconnections work properly 2016-04-21 16:20:27 -04:00
d433fe6956 nits 2016-03-29 01:42:07 -04:00
e840ff7582 Version Bump 2.2.1 2016-03-28 23:30:07 -04:00
c9813a8c42 Provide better reconnection error message 2016-03-28 23:30:07 -04:00
46a29037d4 strip static builds
Fixes #79
2016-03-28 23:30:07 -04:00
d41b06dea2 sync tmate-protocol.h 2016-03-28 16:28:11 -04:00
71d31e60e6 Be less strict over msgpack message size 2016-03-28 16:27:09 -04:00
02694d2a96 Send commands with their arguments in an array 2016-03-28 02:18:09 -04:00
c88870b0a3 Revert "Escape sent commands"
This reverts commit 37c71cfe15.
2016-03-28 01:22:48 -04:00
78305a7077 Cleanup socket 2016-03-27 13:09:04 -04:00
1ade196fb2 Default tmate messages to 15s 2016-03-27 13:09:04 -04:00
9b5bb8390c better error message 2016-03-27 02:29:43 -04:00
b88f66192f Merge remote-tracking branch 'tmux/master' 2016-03-27 02:15:29 -04:00
37c71cfe15 Escape sent commands 2016-03-27 02:06:56 -04:00
474487c33e Replay commands 2016-03-27 01:10:23 -04:00
a7c5507464 snapshot 2016-03-27 00:30:20 -04:00
cdfb6d7ef1 Reconnect wip 2016-03-26 19:00:16 -04:00
5658b628b9 Look for utempter_add_record to be sure we have the new utempter API, the old
utempter API was also using utempter.h.
2016-03-26 20:17:17 +00:00
b429a00cce Add to TODO. 2016-03-20 08:14:14 +00:00
410ccce4a3 Merge branch 'obsd-master' 2016-03-18 16:01:15 +00:00
312a7a1e62 Make scrolling behaviour more sensible and maintain cursor position, as
if the same had been done line-by-line. From Michal Mazurek.
2016-03-18 14:27:24 +00:00
ed598e9fe1 Merge branch 'obsd-master' 2016-03-18 08:01:18 +00:00
fa97b0a95b Instead of reusing MouseUp at the finish of a drag, add a new key
MouseDragEnd. It can be useful to bind them separately in copy mode.
2016-03-18 07:28:27 +00:00
3dfc79fb09 Tweak a comment. 2016-03-17 15:11:40 +00:00
cc20e826e0 Add webhook options 2016-03-11 14:11:48 -05:00
9742aeaf9b Send a ready packet when initialization is done 2016-03-11 14:11:28 -05:00
0d4aaa6def Fix compile warning 2016-03-11 13:28:49 -05:00
87794a3adb Merge remote-tracking branch 'tmux/master' 2016-03-11 13:26:22 -05:00
5fc5c03dad Merge branch 'obsd-master'
Conflicts:
	tmux.c
2016-03-05 17:58:12 +00:00
0d6de44a37 If setlocale("en_US.UTF-8") succeeds, then don't do the check for UTF-8
locale since if it isn't UTF-8 the system is broken anyway. If it fails,
try "" and check for UTF-8 with nl_langinfo(CODESET) rather than
wcwidth(). Based on a diff from schwarze@, nl_langinfo also suggested by
stsp@.
2016-03-05 16:08:38 +00:00
81f78f0da7 Merge branch 'obsd-master' 2016-03-05 10:01:09 +00:00
c38e0a4bbc Do not use c->cwd or s->cwd if it is NULL, found by Ben Boeckel. 2016-03-05 07:47:52 +00:00
1f0b317088 Although we always have en_US.UTF-8 on OpenBSD, some platforms do not,
so fall back to setlocale(LC_CTYPE, ""). tmux requires a UTF-8 locale,
so check with wcwidth() on a UTF-8 character after setlocale().
2016-03-05 07:44:31 +00:00
6c35d17800 Merge branch 'obsd-master' 2016-03-03 16:01:11 +00:00