Commit Graph

46 Commits

Author SHA1 Message Date
Sergio de Almeida Cipriano Junior
e5ce3f04d2 Fix typo in ssh client 2021-03-21 15:38:58 -04:00
Björn Jacke
f6a4ae6042 client: set IPTOS_LOWDELAY on TCP connection
this helps edge routers to prioritize our interactive network traffic.
2021-02-20 17:12:25 -05:00
Nicolas Viennot
cbec43f56d Better debugging when keys are not matching 2020-04-14 18:22:04 -04:00
Klemens Nanni
339e6c4357 Include <errno.h> for global errno
At least on OpenBSD the symbol `errno` is otherwise not defined;  it is
used in the `SSO()` macro and `send_authorized_keys()` function.
2020-04-12 15:17:50 -04:00
Nicolas Viennot
7e02dba7ef Minor refactor 2019-11-10 16:40:36 -05:00
Nicolas Viennot
2b86031308 Fix keepalive bug 2019-11-10 03:58:59 -05:00
Nicolas Viennot
ba860b8f45 Cleanup warnings 2019-11-07 10:14:03 -05:00
Nicolas Viennot
c71307ed5c Fix reconnection hanging bugs 2019-11-05 20:30:49 -05:00
Nicolas Viennot
6e84bab68c Add foreground mode with -F 2019-11-04 18:36:10 -05:00
Nicolas Viennot
4efe25d91d During SSH authentication, try the none auth method first 2019-10-15 03:11:26 -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
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
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
c9813a8c42 Provide better reconnection error message 2016-03-28 23:30:07 -04:00
Nicolas Viennot
cdfb6d7ef1 Reconnect wip 2016-03-26 19:00:16 -04:00
Nicolas Viennot
0d4aaa6def Fix compile warning 2016-03-11 13:28:49 -05:00
Nicolas Viennot
64e14eaff5 Avoid crashes when the ssh connction dies
We might want to deal with reconnections soon
2016-01-23 00:52:35 -05:00
Nicolas Viennot
c1846177fc Cleanup hacks around ev_ssh.ev_flags
Fixes #69

Fix suggested by Leon M. George <leon@georgemail.eu>
2016-01-15 16:03:57 -05:00
Nicolas Viennot
924eb01299 nits 2016-01-02 10:04:29 -05:00
Nicolas Viennot
a87d3af309 Reusing protocol code from tmate-slave 2016-01-01 17:02:23 -05:00
Nicolas Viennot
4c5522f7fa ssh key passphrase fix 2015-12-31 19:52:19 -05:00
Nicolas Viennot
55e6a774a8 improve err msg 2015-12-31 19:52:19 -05:00
Nicolas Viennot
16e1b82cb8 fix options scope 2015-12-23 05:58:09 -05:00
Nicolas Viennot
9b2778c439 Merge with latest tmux 2015-12-23 05:46:44 -05:00
Nicolas Viennot
f0d60cb1c8 update libssh/msgpack APIs 2015-12-23 04:37:06 -05:00
Nicolas Viennot
92bf230b8a Can't use the legacy logging callbacks of libssh, it's broken 2013-11-06 19:08:55 -05:00
Nicolas Viennot
0d182e707e Allow users to specify their own tmate servers
Options:
- tmate-server-host
- tmate-server-port
- tmate-server-dsa-fingerprint
- tmate-server-rsa-fingerprint
- tmate-server-ecdsa-fingerprint
2013-10-04 17:36:46 -04:00
Nicolas Viennot
13d3439933 SSH key passphrase support
Closes #6
2013-07-23 16:55:06 -04:00
Nicolas Viennot
ebc4e5ecdf User can specify his SSH identity with the tmate-identity global option 2013-07-22 18:05:44 -04:00
Nicolas Viennot
36bfa71b78 Support for multiple IP on DNS 2013-07-22 17:24:08 -04:00
Nicolas Viennot
632553bdc9 SSH log level is tweakable with -v 2013-06-14 23:58:08 -04:00
Nicolas Viennot
8f19552af0 Better error message when SSH keys are not setup 2013-06-14 23:10:24 -04:00
Nicolas Viennot
844451c6ce Show tmate messages in the status bar 2013-06-12 19:47:36 -04:00
Nicolas Viennot
a1d7bf7dc0 No reconnection for now 2013-06-12 18:02:29 -04:00
Nicolas Viennot
bf4edb4056 Authenticating the server 2013-06-12 01:28:01 -04:00
Nicolas Viennot
f89b98e1c3 Use tmate.io 2013-06-11 13:30:25 -04:00
Nicolas Viennot
6988b99fb4 Enable compression 2013-06-10 05:59:59 -04:00
Nicolas Viennot
a75e70f86b Fix error message 2013-06-10 04:30:12 -04:00
Nicolas Viennot
864124f4c0 Public key auth no longer need to be blocking (libssh 0.6) 2013-06-10 02:50:07 -04:00
Nicolas Viennot
220b2afb3c Client side first shot 2013-06-10 01:54:57 -04:00