Commit Graph

5868 Commits

Author SHA1 Message Date
Nicolas Viennot
fa49dc980d Provide a better CLI help (-h) 2019-11-05 20:30:49 -05:00
Nicolas Viennot
206c0f38b4 Set boot options via tmux commands 2019-11-05 20:30:40 -05:00
Nicolas Viennot
19341bc544 Add authorized_keys option -a 2019-11-05 20:30:11 -05:00
Nicolas Viennot
c78198dc59 Add command line arguments to set the account_key/session_names
-k account_key -n session_name -r session_name_ro
2019-11-04 18:36:10 -05:00
Nicolas Viennot
c63c8fbf90 Only use tmate.conf, not .tmux.conf
Fixes #108
2019-11-04 18:36:10 -05:00
Nicolas Viennot
6e84bab68c Add foreground mode with -F 2019-11-04 18:36:10 -05:00
Nicolas Viennot
7f693a97ae Add options for customizing session names (WIP) 2019-10-21 02:36:52 -04:00
Nicolas Viennot
4efe25d91d During SSH authentication, try the none auth method first 2019-10-15 03:11:26 -04:00
Nicolas Viennot
7262aead73 Bump to version 2.3.1 2019-10-12 21:10:03 -04:00
Nicolas Viennot
7153958e99 Allow the use of C.UTF-8 locale 2019-10-12 21:10:03 -04:00
Nicolas Viennot
74ff522983 Build static build releases on travis-ci 2019-10-12 20:38:36 -04:00
Nicolas Viennot
44635e752d Use docker to build static releases
Static builds are possible with the musl C library.
glibc is capricious when it comes to static linking and DNS support (and
other things).
2019-10-12 13:50:27 -04:00
Nicolas Viennot
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
Nicolas Viennot
3e5d919b14 Bump to version 2.3.0 2019-07-31 21:02:18 -04:00
Andreas Schneider
4e7caeb536 ssh-client: Use ssh_get_server_publickey() if possible 2019-07-30 09:57:28 -04:00
Andreas Schneider
e25ab3cc8b ssh-client: Add missing ecdsa keytypes of libssh 0.9 2019-07-30 09:39:25 -04:00
Christian Hesse
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
Andreas Schneider
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
Nicolas Viennot
32d48cbc9d Update ed25519 server key (not yet in production) 2019-04-07 10:30:41 -04:00
Andreas Schneider
b01c6ecebd configure: Require libssh >= 0.8.4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-04-07 10:30:41 -04:00
Andreas Schneider
b645ce15cb ssh-client: Add support for ed25519 keys
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-04-07 10:30:41 -04:00
Andreas Schneider
2ffcbbd185 ssh-client: Use SHA256 finger prints
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-04-07 10:30:41 -04:00
Nicolas Viennot
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
David Bishop
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
Natanael Copa
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
Nicolas Viennot
608763a41a Attempt to fix environment related crash
Fixes #89
2016-06-14 17:08:58 -04:00
Nicolas Viennot
b27f3bacc0 Crash fix in search prev/next match
Fixes #87
2016-06-10 18:00:50 -04:00
Nicolas Viennot
27169b7c07 Add missing incldues for FreeBSD 2016-06-05 12:54:25 -04:00
Nicolas Viennot
fe81322cc4 Keep alive the socket to make reconnections work properly 2016-04-21 16:20:27 -04:00
Nicolas Viennot
d433fe6956 nits 2016-03-29 01:42:07 -04:00
Nicolas Viennot
e840ff7582 Version Bump 2016-03-28 23:30:07 -04:00
Nicolas Viennot
c9813a8c42 Provide better reconnection error message 2016-03-28 23:30:07 -04:00
Nicolas Viennot
46a29037d4 strip static builds
Fixes #79
2016-03-28 23:30:07 -04:00
Nicolas Viennot
d41b06dea2 sync tmate-protocol.h 2016-03-28 16:28:11 -04:00
Nicolas Viennot
71d31e60e6 Be less strict over msgpack message size 2016-03-28 16:27:09 -04:00
Nicolas Viennot
02694d2a96 Send commands with their arguments in an array 2016-03-28 02:18:09 -04:00
Nicolas Viennot
c88870b0a3 Revert "Escape sent commands"
This reverts commit 37c71cfe15.
2016-03-28 01:22:48 -04:00
Nicolas Viennot
78305a7077 Cleanup socket 2016-03-27 13:09:04 -04:00
Nicolas Viennot
1ade196fb2 Default tmate messages to 15s 2016-03-27 13:09:04 -04:00
Nicolas Viennot
9b5bb8390c better error message 2016-03-27 02:29:43 -04:00
Nicolas Viennot
b88f66192f Merge remote-tracking branch 'tmux/master' 2016-03-27 02:15:29 -04:00
Nicolas Viennot
37c71cfe15 Escape sent commands 2016-03-27 02:06:56 -04:00
Nicolas Viennot
474487c33e Replay commands 2016-03-27 01:10:23 -04:00
Nicolas Viennot
a7c5507464 snapshot 2016-03-27 00:30:20 -04:00
Nicolas Viennot
cdfb6d7ef1 Reconnect wip 2016-03-26 19:00:16 -04:00
Nicholas Marriott
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
Nicholas Marriott
b429a00cce Add to TODO. 2016-03-20 08:14:14 +00:00
Thomas Adam
410ccce4a3 Merge branch 'obsd-master' 2016-03-18 16:01:15 +00:00
nicm
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
Thomas Adam
ed598e9fe1 Merge branch 'obsd-master' 2016-03-18 08:01:18 +00:00