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
1cd1bb0965
Setup UTF8 locale
2016-03-27 22:41:33 -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
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
Nicolas Viennot
1fa1a9aca4
fix command line
2016-03-01 02:43:20 -05:00
Nicolas Viennot
2542fa19f3
nits
2016-02-27 19:20:08 -05:00
Nicolas Viennot
b2d1f4fa4c
Add missing signal.h
...
Closes #19
2016-02-19 14:16:28 -05:00
Nicolas Viennot
13d12e82a6
Treat the ro- prefix as part of the readonly token
2016-01-23 01:13:55 -05:00
Nicolas Viennot
d687e486da
token generation was not uniformly distributed
2016-01-22 23:12:02 -05:00
Nicolas Viennot
23bbaab3d2
Being more careful with signals to avoid deadlocks
2016-01-22 13:17:57 -05:00
Nicolas Viennot
1a48abd0be
merge complete
2015-12-29 23:47:44 -05:00
Nicolas Viennot
e26cb1aca4
Passthrough for ssh commands to proxy
2015-11-15 20:16:40 -05:00
Nicolas Viennot
6172129f6f
added back hostname param
2015-11-14 13:42:30 -05:00
Nicolas Viennot
f37e5ad855
setgid first
2015-10-10 06:41:24 -04:00
Nicolas Viennot
07ba45297f
master -> proxy
2015-10-05 18:47:27 -07:00
Nicolas Viennot
5f607d338c
Make it happy on darwin
2015-10-03 14:14:54 -07:00
Nicolas Viennot
7c78530344
Use built-in libssh/msgpack
2015-10-02 21:39:13 -07:00
Nicolas Viennot
dd1078d183
Refactoring
2015-09-19 22:07:02 -04:00
Nicolas Viennot
825ad72720
Added communication with master
2015-09-19 21:59:20 -04:00
Nicolas Viennot
4ac1183848
Refactored tmate
2015-09-19 19:46:11 -04:00
Nicolas Viennot
31cc091823
Cleanup.
...
- Log only to syslog or stderr
- Removed the record/replay
- added ECDSA keys
2015-09-18 19:40:18 -04:00
Nicolas Viennot
baafe40cbb
Send SSH connection strings over
2014-10-31 00:16:39 -04:00
Nicolas Viennot
b6884262fd
More logging on the user/key
2013-11-02 22:04:09 -04:00
Paolo Mainardi
aebbf047d2
host name is now an input argument
...
Closes #7
2013-11-02 16:24:15 -04:00
Nicolas Viennot
4bd26896f8
Add port argument in the connection command
2013-11-01 13:43:40 -04:00
Nicolas Viennot
2ed5d4d973
[BUG FIX] The hanging issue should be fixed
2013-07-11 03:29:57 -04:00
Nicolas Viennot
23b03685a0
Quick and dirty Record/Replay feature
2013-07-10 22:48:24 -04:00
Nicolas Viennot
6b31869600
Readonly support on the client side
...
For now, the client can "tmate show-messages" to get it
2013-06-22 02:34:48 -04:00
Nicolas Viennot
d02e97c206
Using /dev/urandom for our random source
2013-06-22 01:00:47 -04:00
Nicolas Viennot
9fc6c46674
Send USR1 to reopen the log file for logrotate
2013-06-19 23:51:44 -04:00
Nicolas Viennot
0f2707b4f1
ssh keepalive timer
2013-06-17 00:08:41 -04:00
Nicolas Viennot
7f2759484a
StatsD Monitoring
...
It's a bit hard to have the jailed process communicate with the parent.
This is a workaround and is really gross. Please forgive me.
2013-06-14 16:12:23 -04:00
Nicolas Viennot
12d02afd1b
Bug fix on the cmdline (clear the entire argv)
2013-06-14 03:01:12 -04:00
Nicolas Viennot
fb733d9433
Keys can be specified with -k
2013-06-14 02:14:16 -04:00
Nicolas Viennot
8e610ba024
Log IP address when spawning server/client
2013-06-13 20:30:13 -04:00
Nicolas Viennot
04dfad47a8
Server logs stack trace on SIGSEGV
2013-06-13 05:53:43 -04:00
Nicolas Viennot
69207c3050
Debug message clean up
2013-06-13 04:13:40 -04:00
Nicolas Viennot
f1f8233536
session appears in ps aux
2013-06-12 00:02:12 -04:00
Nicolas Viennot
e18b70af0b
nice() for now. We'll go with cgroups another day
2013-06-11 19:09:11 -04:00
Nicolas Viennot
def38c984a
Developer Environement setup
2013-06-11 17:05:12 -04:00
Nicolas Viennot
3ee065ce52
Jail in place
...
Still missing the network isolation.
Maybe a iptable filtered by uid would work.
2013-06-11 05:47:20 -04:00
Nicolas Viennot
31b5c08472
Aggressive fd close before hitting the jail
2013-06-11 03:37:09 -04:00
Nicolas Viennot
79417f1619
Quick refactor in tmate-slave.c
2013-06-11 03:06:38 -04:00
Nicolas Viennot
d11d8ababd
Removed some useless struct
2013-06-11 02:41:28 -04:00
Nicolas Viennot
4ae8ba3270
Connections are now using tokens
2013-06-11 02:36:25 -04:00
Nicolas Viennot
3b4e6bb9cc
Quick refactor of tmate-slave.c
2013-06-10 22:51:22 -04:00