Nicolas Viennot
8b294f3270
No keepalives for libssh >= 0.8.4 due to bug in keepalive
2018-11-18 21:28:35 -05:00
Nicolas Viennot
3fc67466ad
The keepalives don't need to be that frequent without latency measurements
2018-11-18 21:23:24 -05:00
Nicolas Viennot
91a2bf3c4d
SSH verbosity can be set with CLI verbosity option
2018-11-18 21:23:24 -05:00
Nicolas Viennot
3c22f38db6
Merge pull request #43 from varac/libssh-0.7.6
...
Dockerfile improvements
2018-10-17 14:32:27 +02:00
Varac
57529a2d18
Remove build dependencies in docker image
2018-10-17 01:10:34 +02:00
Varac
23c96e3d81
Use upstream tmate-slave in docker image
2018-10-17 00:39:49 +02:00
Varac
d057cca349
Use libssh 0.7.6
...
Latest libssh requires cmake >= 3.3.0 which is not available in jessie.
jessie-backports provides 3.6.2 but this pulls too many dependencies in.
2018-10-16 23:59:59 +02:00
Nicolas Viennot
325b1dbf50
Merge pull request #42 from varac/Dockerfile
...
Add Dockerfile
2018-10-16 21:10:22 +02:00
Varac
aeee703624
Add Dockerfile
2018-10-16 16:02:24 +02:00
Reinaldo de Souza Junior
d6a76e0609
Allow connections based on authorized_keys file.
...
When run with option `-a /path/to/authorized_keys`, tmate-slave will only
authenticate public keys present in the file `/path/to/authorized_keys`.
The expected format is the same as specified in sshd(8) manpage, section
"AUTHORIZED_KEYS FILE FORMAT".
See: tmate-io/tmate-slave#37
Closes #38
2018-04-19 20:24:29 -04:00
James Hunt
76ec591e91
Handle return value of nice(3) properly
...
Fixes #27
2016-07-15 12:18:57 -04:00
Thomas Gouverneur
090c2b04a6
Added -b option to specify bind address
...
Fixes #26
2016-06-30 19:18:38 -04:00
Nicolas Viennot
0049a585b3
Prevent jobs from running
...
Fixes #25
2016-06-16 00:19:16 -04:00
Nicolas Viennot
033298c42c
create_keys.sh: only use -E md5 when available
...
Fixes #23
2016-06-05 13:53:55 -04:00
Nicolas Viennot
b3c85faf3b
Fix malloc() deadlock in signchld handler
2016-04-26 04:05:24 -04:00
Nicolas Viennot
f28f1f99a8
Fix backspace for 2.2.0
...
Closes https://github.com/tmate-io/tmate/issues/81
2016-04-18 15:55:02 -04:00
Nicolas Viennot
849828ef07
nits
2016-03-28 16:38:42 -04:00
Nicolas Viennot
389780495a
Add support for parsed commands
2016-03-28 02:18:17 -04:00
Nicolas Viennot
ea31dc236a
Revert "Escape sent commands"
...
This reverts commit c50bdfccdd6eed9182905a50716ee037ccb29be9.
2016-03-28 01:43:28 -04:00
Nicolas Viennot
1cd1bb0965
Setup UTF8 locale
2016-03-27 22:41:33 -04:00
Nicolas Viennot
55c8c19f67
Try to fix an rare infinite loop
2016-03-27 13:08:05 -04:00
Nicolas Viennot
5d830993d7
Merge remote-tracking branch 'tmux/master'
2016-03-27 02:20:38 -04:00
Nicolas Viennot
8c17050977
nits
2016-03-27 02:10:58 -04:00
Nicolas Viennot
c50bdfccdd
Escape sent commands
2016-03-27 02:06:20 -04:00
Nicolas Viennot
1992c67254
snapshot
2016-03-27 00:30:52 -04:00
Nicolas Viennot
c181b35615
reconnection wip
2016-03-26 19:00:48 -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
nicm
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
Nicholas Marriott
3dfc79fb09
Tweak a comment.
2016-03-17 15:11:40 +00:00
Nicolas Viennot
75c1caa708
Parse out ready messages
2016-03-11 14:17:54 -05:00
Nicolas Viennot
f1c8975b6d
Setup logging early
2016-03-10 18:48:15 -05:00
Nicolas Viennot
fa4ae885ea
Use full qualified hostname
2016-03-10 15:28:55 -05:00
Thomas Adam
5fc5c03dad
Merge branch 'obsd-master'
...
Conflicts:
tmux.c
2016-03-05 17:58:12 +00:00
nicm
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
Thomas Adam
81f78f0da7
Merge branch 'obsd-master'
2016-03-05 10:01:09 +00:00
nicm
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
nicm
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
Thomas Adam
6c35d17800
Merge branch 'obsd-master'
2016-03-03 16:01:11 +00:00
nicm
df0983af39
show-* and set-* need to handle a missing target.
2016-03-03 14:15:22 +00:00
nicm
fa81d838da
Accept clients as sessions in cmd_find_get_session.
2016-03-03 14:14:46 +00:00
Thomas Adam
45d62482da
Merge branch 'obsd-master'
2016-03-03 14:01:10 +00:00
nicm
bcb41a09b3
RGB colours shouldn't be mixed up with aixterm colours, return before
...
that happens when working out if they are supported.
2016-03-03 12:58:15 +00:00
Nicholas Marriott
9e2fbb31ec
+wchar.h
2016-03-02 18:19:13 +00:00
Nicholas Marriott
985504ff2c
Merge branch 'next'
2016-03-02 18:16:51 +00:00
Thomas Adam
e304673c65
Merge branch 'obsd-master'
...
Conflicts:
utf8.c
2016-03-02 18:10:51 +00:00
nicm
b8a102d26f
Handle wcwidth() and mbtowc() failures in better style and drop
...
characters where we can't find the width (wcwidth() fails) on input, the
same as we drop invalid UTF-8. Suggested by schwarze@.
2016-03-02 15:36:02 +00:00