TablePlus / TablePlus

TablePlus macOS issue tracker
https://tableplus.com
3.44k stars 57 forks source link

Cannot connect to server via SSH over VPN? #913

Open guillaumealgis opened 5 years ago

guillaumealgis commented 5 years ago
  1. Which driver are you using and version of it (Ex: PostgreSQL 10.0):

PostgreSQL 10.6

  1. Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81):

182

  1. The steps to reproduce this issue:

Hi,

I'm trying to connect to a server which is only available through a VPN connection. Unfortunatelly it seems TablePlus is enable to find the server.

I tried to connect to a server with a similar setup but accessible without VPN and it worked fine. I also confirmed that I could connect to the server behind a VPN using the ssh command and Postico.

capture d ecran 2019-01-22 a 18 09 49

I tried several different settings, none of which is working (I'm always getting Can't connect to host) :

capture d ecran 2019-01-22 a 18 13 35

I'm also unable to get any more connection information / logs from TablePlus so it's complicated to debug the issue further.

Thank you for your help.

huyphams commented 5 years ago

Hi we have a blog with debug build here, where you can see SSH detail on your terminal: https://tableplus.com/blog/2018/10/failed-to-connect-via-ssh-tableplus.html

guillaumealgis commented 5 years ago

@huyphams Thanks. I doesn't help me understand the problem better, but maybe it'll help you :

[2019/01/22 18:32:39.254935, 3] ssh_config_parse_file:  Reading configuration data from /Users/guillaume/.ssh/config
[2019/01/22 18:32:39.261238, 1] ssh_config_parse_line:  Unsupported option: AddKeysToAgent, line: 3
[2019/01/22 18:32:39.261265, 1] ssh_config_parse_line:  Unknown option: UseKeychain, line: 4

[2019/01/22 18:32:39.261276, 1] ssh_config_parse_line:  Unsupported option: AddKeysToAgent, line: 7
[2019/01/22 18:32:39.261286, 1] ssh_config_parse_line:  Unknown option: UseKeychain, line: 8

[2019/01/22 18:32:39.262151, 3] ssh_config_parse_file:  Reading configuration data from /etc/ssh/ssh_config
[2019/01/22 18:32:39.262269, 2] ssh_config_parse_line:  Unapplicable option: SendEnv, line: 49

[2019/01/22 18:32:39.262370, 2] ssh_connect:  libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
[2019/01/22 18:32:42.081344, 2] ssh_socket_connect:  Nonblocking connection socket: 22
[2019/01/22 18:32:42.082273, 2] ssh_connect:  Socket connecting, now waiting for the callbacks to work
[2019/01/22 18:32:42.082317, 3] ssh_connect:  Actual timeout : 35000
[2019/01/22 18:32:42.091762, 4] ssh_socket_pollcallback:  Poll callback on socket 22 (POLLIN ), out buffer 0
[2019/01/22 18:32:42.092041, 1] socket_callback_connected:  Socket connection callback: 2 (61)
[2019/01/22 18:32:42.092228, 1] socket_callback_connected:  Connection refused
[2019/01/22 18:32:42.092246, 3] ssh_connect:  current state : 9
guillaumealgis commented 5 years ago

Ok super weird : I swear I didn't change anything, and suddently the connection started working.

Connected a few times, then I stopped the VPN connection and started it again (without restarting TablePlus) and now I can't connect again. I'm puzzled.

huyphams commented 5 years ago

Hmm, are you using the debug build or the normal build?

guillaumealgis commented 5 years ago

Debug.

guillaumealgis commented 5 years ago

Here the full log of one of the run I just did in the debug build.

At first the connection fails a few times, and (without changing the settings) it suddently starts connecting.

Click to view log ❯ /Users/guillaume/Desktop/TablePlus-Debug.app/Contents/MacOS/TablePlus 2019-01-22 18:44:08.534 TablePlus[45208:1127433] [Crashlytics] Version 3.12.0 (136) 2019-01-22 18:44:08.723 TablePlus[45208:1127466] -[NSURL init] called; this results in an NSURL instance with an empty URL string. Please use one of the documented NSURL initialization methods instead (initWithString:, initFileURLWithPath:, etc.). This message shown only once. [2019/01/22 18:44:16.632505, 3] ssh_config_parse_file: Reading configuration data from /Users/guillaume/.ssh/config [2019/01/22 18:44:16.633603, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 3 [2019/01/22 18:44:16.633687, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 4 [2019/01/22 18:44:16.633730, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 7 [2019/01/22 18:44:16.633757, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 8 [2019/01/22 18:44:16.634245, 3] ssh_config_parse_file: Reading configuration data from /etc/ssh/ssh_config [2019/01/22 18:44:16.634453, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 49 [2019/01/22 18:44:16.634589, 2] ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread [2019/01/22 18:44:16.645773, 2] ssh_socket_connect: Nonblocking connection socket: 22 [2019/01/22 18:44:16.645810, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2019/01/22 18:44:16.645876, 3] ssh_connect: Actual timeout : 35000 [2019/01/22 18:44:16.674655, 4] ssh_socket_pollcallback: Poll callback on socket 22 (POLLIN ), out buffer 0 [2019/01/22 18:44:16.674761, 1] socket_callback_connected: Socket connection callback: 2 (61) [2019/01/22 18:44:16.674869, 1] socket_callback_connected: Connection refused [2019/01/22 18:44:16.674885, 3] ssh_connect: current state : 9 [2019/01/22 18:44:25.578076, 3] ssh_config_parse_file: Reading configuration data from /Users/guillaume/.ssh/config [2019/01/22 18:44:25.578128, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 3 [2019/01/22 18:44:25.578141, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 4 [2019/01/22 18:44:25.578154, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 7 [2019/01/22 18:44:25.578164, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 8 [2019/01/22 18:44:25.578250, 3] ssh_config_parse_file: Reading configuration data from /etc/ssh/ssh_config [2019/01/22 18:44:25.578298, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 49 [2019/01/22 18:44:25.578333, 2] ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread [2019/01/22 18:44:25.582367, 2] ssh_socket_connect: Nonblocking connection socket: 25 [2019/01/22 18:44:25.584572, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2019/01/22 18:44:25.584593, 3] ssh_connect: Actual timeout : 35000 [2019/01/22 18:44:25.593879, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:25.595107, 1] socket_callback_connected: Socket connection callback: 2 (61) [2019/01/22 18:44:25.596000, 1] socket_callback_connected: Connection refused [2019/01/22 18:44:25.596055, 3] ssh_connect: current state : 9 [2019/01/22 18:44:32.656067, 3] ssh_config_parse_file: Reading configuration data from /Users/guillaume/.ssh/config [2019/01/22 18:44:32.818991, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 3 [2019/01/22 18:44:32.819022, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 4 [2019/01/22 18:44:32.819039, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 7 [2019/01/22 18:44:32.819052, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 8 [2019/01/22 18:44:32.819351, 3] ssh_config_parse_file: Reading configuration data from /etc/ssh/ssh_config [2019/01/22 18:44:32.829751, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 49 [2019/01/22 18:44:32.829810, 2] ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread [2019/01/22 18:44:32.871254, 2] ssh_socket_connect: Nonblocking connection socket: 25 [2019/01/22 18:44:32.871423, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2019/01/22 18:44:32.871433, 3] ssh_connect: Actual timeout : 35000 [2019/01/22 18:44:32.891487, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:32.891532, 1] socket_callback_connected: Socket connection callback: 2 (61) [2019/01/22 18:44:32.891668, 1] socket_callback_connected: Connection refused [2019/01/22 18:44:32.891692, 3] ssh_connect: current state : 9 [2019/01/22 18:44:37.755096, 3] ssh_config_parse_file: Reading configuration data from /Users/guillaume/.ssh/config [2019/01/22 18:44:37.825498, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 3 [2019/01/22 18:44:37.825526, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 4 [2019/01/22 18:44:37.825542, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 7 [2019/01/22 18:44:37.825554, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 8 [2019/01/22 18:44:37.825707, 3] ssh_config_parse_file: Reading configuration data from /etc/ssh/ssh_config [2019/01/22 18:44:37.825763, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 49 [2019/01/22 18:44:37.825801, 2] ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread [2019/01/22 18:44:37.915116, 2] ssh_socket_connect: Nonblocking connection socket: 25 [2019/01/22 18:44:37.915145, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2019/01/22 18:44:37.915158, 3] ssh_connect: Actual timeout : 35000 [2019/01/22 18:44:37.926205, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:37.926244, 1] socket_callback_connected: Socket connection callback: 2 (61) [2019/01/22 18:44:37.926257, 1] socket_callback_connected: Connection refused [2019/01/22 18:44:37.926270, 3] ssh_connect: current state : 9 [2019/01/22 18:44:38.504730, 3] ssh_config_parse_file: Reading configuration data from /Users/guillaume/.ssh/config [2019/01/22 18:44:38.504809, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 3 [2019/01/22 18:44:38.504829, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 4 [2019/01/22 18:44:38.504858, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 7 [2019/01/22 18:44:38.504875, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 8 [2019/01/22 18:44:38.504982, 3] ssh_config_parse_file: Reading configuration data from /etc/ssh/ssh_config [2019/01/22 18:44:38.505052, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 49 [2019/01/22 18:44:38.505099, 2] ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread [2019/01/22 18:44:38.511430, 2] ssh_socket_connect: Nonblocking connection socket: 25 [2019/01/22 18:44:38.511478, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2019/01/22 18:44:38.511492, 3] ssh_connect: Actual timeout : 35000 [2019/01/22 18:44:38.526697, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:38.526794, 1] socket_callback_connected: Socket connection callback: 2 (61) [2019/01/22 18:44:38.526904, 1] socket_callback_connected: Connection refused [2019/01/22 18:44:38.526931, 3] ssh_connect: current state : 9 [2019/01/22 18:44:39.021930, 3] ssh_config_parse_file: Reading configuration data from /Users/guillaume/.ssh/config [2019/01/22 18:44:39.022035, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 3 [2019/01/22 18:44:39.022067, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 4 [2019/01/22 18:44:39.022095, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 7 [2019/01/22 18:44:39.022117, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 8 [2019/01/22 18:44:39.022261, 3] ssh_config_parse_file: Reading configuration data from /etc/ssh/ssh_config [2019/01/22 18:44:39.022360, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 49 [2019/01/22 18:44:39.022427, 2] ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread [2019/01/22 18:44:39.028320, 2] ssh_socket_connect: Nonblocking connection socket: 25 [2019/01/22 18:44:39.029010, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2019/01/22 18:44:39.029028, 3] ssh_connect: Actual timeout : 35000 [2019/01/22 18:44:39.039543, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:39.040184, 1] socket_callback_connected: Socket connection callback: 2 (61) [2019/01/22 18:44:39.040502, 1] socket_callback_connected: Connection refused [2019/01/22 18:44:39.040521, 3] ssh_connect: current state : 9 [2019/01/22 18:44:39.483458, 3] ssh_config_parse_file: Reading configuration data from /Users/guillaume/.ssh/config [2019/01/22 18:44:39.483566, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 3 [2019/01/22 18:44:39.483597, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 4 [2019/01/22 18:44:39.483624, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 7 [2019/01/22 18:44:39.483645, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 8 [2019/01/22 18:44:39.483801, 3] ssh_config_parse_file: Reading configuration data from /etc/ssh/ssh_config [2019/01/22 18:44:39.483899, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 49 [2019/01/22 18:44:39.483966, 2] ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread [2019/01/22 18:44:39.490117, 2] ssh_socket_connect: Nonblocking connection socket: 25 [2019/01/22 18:44:39.490545, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2019/01/22 18:44:39.491304, 3] ssh_connect: Actual timeout : 35000 [2019/01/22 18:44:39.501940, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:39.502060, 1] socket_callback_connected: Socket connection callback: 2 (61) [2019/01/22 18:44:39.502085, 1] socket_callback_connected: Connection refused [2019/01/22 18:44:39.502103, 3] ssh_connect: current state : 9 [2019/01/22 18:44:52.154492, 3] ssh_config_parse_file: Reading configuration data from /Users/guillaume/.ssh/config [2019/01/22 18:44:52.161497, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 3 [2019/01/22 18:44:52.161608, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 4 [2019/01/22 18:44:52.161630, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 7 [2019/01/22 18:44:52.161646, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 8 [2019/01/22 18:44:52.161746, 3] ssh_config_parse_file: Reading configuration data from /etc/ssh/ssh_config [2019/01/22 18:44:52.161803, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 49 [2019/01/22 18:44:52.161845, 2] ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread [2019/01/22 18:44:52.188601, 2] ssh_socket_connect: Nonblocking connection socket: 25 [2019/01/22 18:44:52.189390, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2019/01/22 18:44:52.189695, 3] ssh_connect: Actual timeout : 35000 [2019/01/22 18:44:52.197980, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:52.204027, 1] socket_callback_connected: Socket connection callback: 2 (61) [2019/01/22 18:44:52.204048, 1] socket_callback_connected: Connection refused [2019/01/22 18:44:52.204060, 3] ssh_connect: current state : 9 [2019/01/22 18:44:52.610399, 3] ssh_config_parse_file: Reading configuration data from /Users/guillaume/.ssh/config [2019/01/22 18:44:52.610461, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 3 [2019/01/22 18:44:52.610475, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 4 [2019/01/22 18:44:52.610489, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 7 [2019/01/22 18:44:52.610501, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 8 [2019/01/22 18:44:52.610573, 3] ssh_config_parse_file: Reading configuration data from /etc/ssh/ssh_config [2019/01/22 18:44:52.610625, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 49 [2019/01/22 18:44:52.610658, 2] ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread [2019/01/22 18:44:52.617081, 2] ssh_socket_connect: Nonblocking connection socket: 25 [2019/01/22 18:44:52.617129, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2019/01/22 18:44:52.617141, 3] ssh_connect: Actual timeout : 35000 [2019/01/22 18:44:52.627833, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:52.627890, 1] socket_callback_connected: Socket connection callback: 2 (61) [2019/01/22 18:44:52.627912, 1] socket_callback_connected: Connection refused [2019/01/22 18:44:52.627928, 3] ssh_connect: current state : 9 [2019/01/22 18:44:53.084993, 3] ssh_config_parse_file: Reading configuration data from /Users/guillaume/.ssh/config [2019/01/22 18:44:53.085095, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 3 [2019/01/22 18:44:53.085127, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 4 [2019/01/22 18:44:53.085158, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 7 [2019/01/22 18:44:53.085184, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 8 [2019/01/22 18:44:53.085325, 3] ssh_config_parse_file: Reading configuration data from /etc/ssh/ssh_config [2019/01/22 18:44:53.085427, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 49 [2019/01/22 18:44:53.085496, 2] ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread [2019/01/22 18:44:53.097393, 2] ssh_socket_connect: Nonblocking connection socket: 25 [2019/01/22 18:44:53.097467, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2019/01/22 18:44:53.097484, 3] ssh_connect: Actual timeout : 35000 [2019/01/22 18:44:53.193020, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:53.193174, 1] socket_callback_connected: Socket connection callback: 2 (61) [2019/01/22 18:44:53.193229, 1] socket_callback_connected: Connection refused [2019/01/22 18:44:53.193257, 3] ssh_connect: current state : 9 [2019/01/22 18:44:53.543970, 3] ssh_config_parse_file: Reading configuration data from /Users/guillaume/.ssh/config [2019/01/22 18:44:53.544030, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 3 [2019/01/22 18:44:53.544043, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 4 [2019/01/22 18:44:53.544054, 1] ssh_config_parse_line: Unsupported option: AddKeysToAgent, line: 7 [2019/01/22 18:44:53.544063, 1] ssh_config_parse_line: Unknown option: UseKeychain, line: 8 [2019/01/22 18:44:53.544133, 3] ssh_config_parse_file: Reading configuration data from /etc/ssh/ssh_config [2019/01/22 18:44:53.544173, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 49 [2019/01/22 18:44:53.544203, 2] ssh_connect: libssh 0.8.5 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread [2019/01/22 18:44:53.547981, 2] ssh_socket_connect: Nonblocking connection socket: 25 [2019/01/22 18:44:53.548023, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2019/01/22 18:44:53.548073, 3] ssh_connect: Actual timeout : 35000 [2019/01/22 18:44:53.557761, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:53.557814, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2019/01/22 18:44:53.557847, 1] socket_callback_connected: Socket connection callback: 1 (0) [2019/01/22 18:44:53.558177, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:53.558255, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:53.571632, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:53.572835, 3] callback_receive_banner: Received banner: SSH-2.0-OpenSSH_7.7 [2019/01/22 18:44:53.572871, 1] ssh_client_connection_callback: SSH server banner: SSH-2.0-OpenSSH_7.7 [2019/01/22 18:44:53.572891, 1] ssh_analyze_banner: Analyzing banner: SSH-2.0-OpenSSH_7.7 [2019/01/22 18:44:53.572941, 1] ssh_analyze_banner: We are talking to an OpenSSH client version: 7.7 (70700) [2019/01/22 18:44:53.586281, 1] ssh_known_hosts_read_entries: Failed to open the known_hosts file '/etc/ssh/ssh_known_hosts': No such file or directory [2019/01/22 18:44:53.586391, 3] ssh_client_select_hostkeys: Changing host key method to "ecdsa-sha2-nistp256,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ssh-rsa,ssh-dss" [2019/01/22 18:44:53.589796, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,ext-info-c [2019/01/22 18:44:53.589925, 4] ssh_list_kex: server host key algo: ecdsa-sha2-nistp256,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ssh-rsa,ssh-dss [2019/01/22 18:44:53.589938, 4] ssh_list_kex: encryption client->server: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc [2019/01/22 18:44:53.589948, 4] ssh_list_kex: encryption server->client: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc [2019/01/22 18:44:53.589958, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [2019/01/22 18:44:53.589967, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [2019/01/22 18:44:53.589975, 4] ssh_list_kex: compression algo client->server: none [2019/01/22 18:44:53.589984, 4] ssh_list_kex: compression algo server->client: none [2019/01/22 18:44:53.589993, 4] ssh_list_kex: languages client->server: [2019/01/22 18:44:53.590001, 4] ssh_list_kex: languages server->client: [2019/01/22 18:44:53.590245, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:53.590258, 3] packet_send2: packet: wrote [len=644,padding=9,comp=634,payload=634] [2019/01/22 18:44:53.590325, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:53.590334, 4] ssh_socket_pollcallback: sending control flow event [2019/01/22 18:44:53.590343, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2019/01/22 18:44:53.591273, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:53.591300, 3] ssh_packet_socket_callback: packet: read type 20 [len=1076,padding=6,comp=1069,payload=1069] [2019/01/22 18:44:53.591311, 3] ssh_packet_process: Dispatching handler for packet type 20 [2019/01/22 18:44:53.591336, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1 [2019/01/22 18:44:53.591349, 4] ssh_list_kex: server host key algo: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519 [2019/01/22 18:44:53.591357, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [2019/01/22 18:44:53.591366, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [2019/01/22 18:44:53.591375, 4] ssh_list_kex: mac algo client->server: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [2019/01/22 18:44:53.591385, 4] ssh_list_kex: mac algo server->client: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [2019/01/22 18:44:53.591453, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com [2019/01/22 18:44:53.591464, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com [2019/01/22 18:44:53.591473, 4] ssh_list_kex: languages client->server: [2019/01/22 18:44:53.591481, 4] ssh_list_kex: languages server->client: [2019/01/22 18:44:53.591520, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ecdsa-sha2-nistp256,aes256-ctr,aes256-ctr,hmac-sha2-256,hmac-sha2-256,none,none,, [2019/01/22 18:44:53.604339, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:53.604367, 3] packet_send2: packet: wrote [len=44,padding=6,comp=37,payload=37] [2019/01/22 18:44:53.604533, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:53.604547, 4] ssh_socket_pollcallback: sending control flow event [2019/01/22 18:44:53.604557, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2019/01/22 18:44:53.666974, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:53.667072, 3] ssh_packet_socket_callback: packet: read type 31 [len=260,padding=9,comp=250,payload=250] [2019/01/22 18:44:53.667102, 3] ssh_packet_process: Dispatching handler for packet type 31 [2019/01/22 18:44:53.667127, 2] ssh_packet_dh_reply: Received SSH_KEXDH_REPLY [2019/01/22 18:44:53.677012, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:53.677091, 3] packet_send2: packet: wrote [len=12,padding=10,comp=1,payload=1] [2019/01/22 18:44:53.677118, 2] ssh_client_curve25519_reply: SSH_MSG_NEWKEYS sent [2019/01/22 18:44:53.677135, 3] ssh_packet_socket_callback: Processing 208 bytes left in socket buffer [2019/01/22 18:44:53.677154, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2019/01/22 18:44:53.677174, 3] ssh_packet_process: Dispatching handler for packet type 21 [2019/01/22 18:44:53.677191, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2019/01/22 18:44:53.679225, 3] crypt_set_algorithms2: Set output algorithm to aes256-ctr [2019/01/22 18:44:53.679241, 3] crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256 [2019/01/22 18:44:53.679249, 3] crypt_set_algorithms2: Set input algorithm to aes256-ctr [2019/01/22 18:44:53.679256, 3] crypt_set_algorithms2: Set HMAC input algorithm to hmac-sha2-256 [2019/01/22 18:44:53.679978, 4] ssh_pki_signature_verify_blob: Going to verify a ssh-ecdsa type signature [2019/01/22 18:44:53.682869, 2] ssh_packet_newkeys: Signature verified and valid [2019/01/22 18:44:53.683365, 3] ssh_packet_socket_callback: Processing 192 bytes left in socket buffer [2019/01/22 18:44:53.684022, 3] ssh_packet_socket_callback: packet: read type 7 [len=156,padding=14,comp=141,payload=141] [2019/01/22 18:44:53.684037, 3] ssh_packet_process: Dispatching handler for packet type 7 [2019/01/22 18:44:53.684045, 3] ssh_packet_ext_info: Received SSH_MSG_EXT_INFO [2019/01/22 18:44:53.684052, 3] ssh_packet_ext_info: Follows 1 extensions [2019/01/22 18:44:53.684060, 3] ssh_packet_ext_info: Extension: server-sig-algs= [2019/01/22 18:44:53.684073, 3] ssh_connect: current state : 7 [2019/01/22 18:44:53.684255, 4] agent_talk: Request length: 1 [2019/01/22 18:44:53.684603, 4] agent_talk: Response length: 572 [2019/01/22 18:44:53.685134, 1] ssh_agent_get_ident_count: Answer type: 12, expected answer: 12 [2019/01/22 18:44:53.685150, 3] ssh_agent_get_ident_count: Agent count: 1 [2019/01/22 18:44:53.685220, 3] ssh_userauth_agent: Trying identity guillaume@Sleipnir.local [2019/01/22 18:44:53.685233, 3] ssh_key_algorithm_allowed: Checking rsa-sha2-512 with list [2019/01/22 18:44:53.685244, 3] ssh_key_algorithm_allowed: Checking rsa-sha2-512 with list [2019/01/22 18:44:53.685276, 3] packet_send2: packet: wrote [len=28,padding=10,comp=17,payload=17] [2019/01/22 18:44:53.685288, 3] ssh_service_request: Sent SSH_MSG_SERVICE_REQUEST (service ssh-userauth) [2019/01/22 18:44:53.685638, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 64 [2019/01/22 18:44:53.685669, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:53.685692, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:53.685702, 4] ssh_socket_pollcallback: sending control flow event [2019/01/22 18:44:53.685711, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2019/01/22 18:44:53.789004, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:53.789309, 3] ssh_packet_socket_callback: packet: read type 6 [len=28,padding=10,comp=17,payload=17] [2019/01/22 18:44:53.789357, 3] ssh_packet_process: Dispatching handler for packet type 6 [2019/01/22 18:44:53.789380, 3] ssh_packet_service_accept: Received SSH_MSG_SERVICE_ACCEPT [2019/01/22 18:44:53.789569, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:53.789594, 3] packet_send2: packet: wrote [len=620,padding=18,comp=601,payload=601] [2019/01/22 18:44:53.789639, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:53.789661, 4] ssh_socket_pollcallback: sending control flow event [2019/01/22 18:44:53.789676, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2019/01/22 18:44:53.868175, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:53.868288, 3] ssh_packet_socket_callback: packet: read type 60 [len=572,padding=15,comp=556,payload=556] [2019/01/22 18:44:53.868311, 3] ssh_packet_process: Dispatching handler for packet type 60 [2019/01/22 18:44:53.868321, 4] ssh_packet_userauth_pk_ok: Received SSH_USERAUTH_PK_OK/INFO_REQUEST/GSSAPI_RESPONSE [2019/01/22 18:44:53.868358, 4] ssh_packet_userauth_pk_ok: Assuming SSH_USERAUTH_PK_OK [2019/01/22 18:44:53.868379, 3] ssh_userauth_agent: Public key of guillaume@Sleipnir.local accepted by server [2019/01/22 18:44:53.868415, 3] ssh_key_algorithm_allowed: Checking rsa-sha2-512 with list [2019/01/22 18:44:53.868436, 3] ssh_key_algorithm_allowed: Checking rsa-sha2-512 with list [2019/01/22 18:44:53.868584, 4] agent_talk: Request length: 1185 [2019/01/22 18:44:53.884949, 4] agent_talk: Response length: 537 [2019/01/22 18:44:53.885140, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:53.885173, 3] packet_send2: packet: wrote [len=1148,padding=10,comp=1137,payload=1137] [2019/01/22 18:44:53.885205, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:53.885216, 4] ssh_socket_pollcallback: sending control flow event [2019/01/22 18:44:53.885225, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2019/01/22 18:44:53.929274, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:53.929335, 3] ssh_packet_socket_callback: packet: read type 52 [len=12,padding=10,comp=1,payload=1] [2019/01/22 18:44:53.929347, 3] ssh_packet_process: Dispatching handler for packet type 52 [2019/01/22 18:44:53.929359, 3] ssh_packet_userauth_success: Authentication successful [2019/01/22 18:44:53.929368, 4] ssh_packet_userauth_success: Received SSH_USERAUTH_SUCCESS [2019/01/22 18:44:53.937232, 2] channel_open: Creating a channel 43 with 64000 window and 32768 max packet [2019/01/22 18:44:53.937327, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:53.937353, 3] packet_send2: packet: wrote [len=76,padding=12,comp=63,payload=63] [2019/01/22 18:44:53.937365, 3] channel_open: Sent a SSH_MSG_CHANNEL_OPEN type direct-tcpip for channel 43 [2019/01/22 18:44:53.937395, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:53.937406, 4] ssh_socket_pollcallback: sending control flow event [2019/01/22 18:44:53.937415, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2019/01/22 18:44:53.938724, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:53.938770, 3] ssh_packet_socket_callback: packet: read type 80 [len=492,padding=16,comp=475,payload=475] [2019/01/22 18:44:53.938780, 3] ssh_packet_process: Dispatching handler for packet type 80 [2019/01/22 18:44:53.939131, 2] ssh_packet_global_request: Received SSH_MSG_GLOBAL_REQUEST packet [2019/01/22 18:44:53.939201, 2] ssh_packet_global_request: UNKNOWN SSH_MSG_GLOBAL_REQUEST hostkeys-00@openssh.com 0 [2019/01/22 18:44:53.939214, 1] ssh_packet_process: Couldn't do anything with packet type 80 [2019/01/22 18:44:53.939269, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:53.939285, 3] packet_send2: packet: wrote [len=12,padding=6,comp=5,payload=5] [2019/01/22 18:44:53.939297, 3] ssh_packet_socket_callback: Processing 352 bytes left in socket buffer [2019/01/22 18:44:53.939316, 3] ssh_packet_socket_callback: packet: read type 4 [len=140,padding=17,comp=122,payload=122] [2019/01/22 18:44:53.939327, 3] ssh_packet_process: Dispatching handler for packet type 4 [2019/01/22 18:44:53.939336, 2] ssh_packet_ignore_callback: Received SSH_MSG_DEBUG packet [2019/01/22 18:44:53.939346, 3] ssh_packet_socket_callback: Processing 176 bytes left in socket buffer [2019/01/22 18:44:53.939364, 3] ssh_packet_socket_callback: packet: read type 4 [len=140,padding=17,comp=122,payload=122] [2019/01/22 18:44:53.939374, 3] ssh_packet_process: Dispatching handler for packet type 4 [2019/01/22 18:44:53.939383, 2] ssh_packet_ignore_callback: Received SSH_MSG_DEBUG packet [2019/01/22 18:44:53.939418, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:53.939430, 4] ssh_socket_pollcallback: sending control flow event [2019/01/22 18:44:53.939439, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2019/01/22 18:44:53.998172, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:53.998238, 3] ssh_packet_socket_callback: packet: read type 91 [len=28,padding=10,comp=17,payload=17] [2019/01/22 18:44:53.998253, 3] ssh_packet_process: Dispatching handler for packet type 91 [2019/01/22 18:44:53.998263, 3] ssh_packet_channel_open_conf: Received SSH2_MSG_CHANNEL_OPEN_CONFIRMATION [2019/01/22 18:44:53.998274, 2] ssh_packet_channel_open_conf: Received a CHANNEL_OPEN_CONFIRMATION for channel 43:0 [2019/01/22 18:44:53.998283, 2] ssh_packet_channel_open_conf: Remote window : 2097152, maxpacket : 32768 [2019/01/22 18:44:53.998435, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:53.998449, 3] packet_send2: packet: wrote [len=28,padding=10,comp=17,payload=17] [2019/01/22 18:44:53.998459, 3] channel_write_common: channel_write wrote 8 bytes [2019/01/22 18:44:53.998533, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:53.998545, 4] ssh_socket_pollcallback: sending control flow event [2019/01/22 18:44:53.998555, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2019/01/22 18:44:54.082605, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:54.082766, 3] ssh_packet_socket_callback: packet: read type 94 [len=28,padding=17,comp=10,payload=10] [2019/01/22 18:44:54.082799, 3] ssh_packet_process: Dispatching handler for packet type 94 [2019/01/22 18:44:54.082823, 3] channel_rcv_data: Channel receiving 1 bytes data in 0 (local win=64000 remote win=2097144) [2019/01/22 18:44:54.082841, 3] channel_default_bufferize: placing 1 bytes into channel buffer (stderr=0) [2019/01/22 18:44:54.082860, 3] channel_rcv_data: Channel windows are now (local win=63999 remote win=2097144) [2019/01/22 18:44:54.082974, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:54.083084, 3] packet_send2: packet: wrote [len=28,padding=18,comp=9,payload=9] [2019/01/22 18:44:54.083138, 2] grow_window: growing window (channel 43:0) to 1280000 bytes [2019/01/22 18:44:54.083165, 3] ssh_channel_read_timeout: Read (1) buffered : 1 bytes. Window: 1280000 [2019/01/22 18:44:54.083282, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:54.083420, 4] ssh_socket_pollcallback: sending control flow event [2019/01/22 18:44:54.083467, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2019/01/22 18:44:54.083568, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:54.083585, 3] packet_send2: packet: wrote [len=92,padding=18,comp=73,payload=73] [2019/01/22 18:44:54.083599, 3] channel_write_common: channel_write wrote 64 bytes [2019/01/22 18:44:54.083622, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:54.083631, 4] ssh_socket_pollcallback: sending control flow event [2019/01/22 18:44:54.083639, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2019/01/22 18:44:54.295451, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:54.295563, 3] ssh_packet_socket_callback: packet: read type 94 [len=28,padding=9,comp=18,payload=18] [2019/01/22 18:44:54.295585, 3] ssh_packet_process: Dispatching handler for packet type 94 [2019/01/22 18:44:54.295599, 3] channel_rcv_data: Channel receiving 9 bytes data in 0 (local win=1280000 remote win=2097080) [2019/01/22 18:44:54.295608, 3] channel_default_bufferize: placing 9 bytes into channel buffer (stderr=0) [2019/01/22 18:44:54.295617, 3] channel_rcv_data: Channel windows are now (local win=1279991 remote win=2097080) [2019/01/22 18:44:54.295652, 3] ssh_channel_read_timeout: Read (9) buffered : 9 bytes. Window: 1279991 [2019/01/22 18:44:54.296068, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2019/01/22 18:44:54.296136, 3] packet_send2: packet: wrote [len=44,padding=8,comp=35,payload=35] [2019/01/22 18:44:54.296157, 3] channel_write_common: channel_write wrote 26 bytes [2019/01/22 18:44:54.296194, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLOUT ), out buffer 0 [2019/01/22 18:44:54.296210, 4] ssh_socket_pollcallback: sending control flow event [2019/01/22 18:44:54.296221, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2019/01/22 18:44:54.353824, 4] ssh_socket_pollcallback: Poll callback on socket 25 (POLLIN ), out buffer 0 [2019/01/22 18:44:54.353897, 3] ssh_packet_socket_callback: packet: read type 94 [len=348,padding=8,comp=339,payload=339] [2019/01/22 18:44:54.353909, 3] ssh_packet_process: Dispatching handler for packet type 94 [2019/01/22 18:44:54.353920, 3] channel_rcv_data: Channel receiving 330 bytes data in 0 (local win=1279991 remote win=2097054) [2019/01/22 18:44:54.353928, 3] channel_default_bufferize: placing 330 bytes into channel buffer (stderr=0) [2019/01/22 18:44:54.353939, 3] channel_rcv_data: Channel windows are now (local win=1279661 remote win=2097054) [2019/01/22 18:44:54.353948, 3] ssh_channel_read_timeout: Read (330) buffered : 330 bytes. Window: 1279661

Connecting to the server using ssh in another terminal seems to "help" TablePlus to open the connection, but it could be a coincidence.

huyphams commented 5 years ago

Thanks @guillaumealgis for the super details log. It’s midnight at my timezone so i will be back tomorrow. Please use native open-ssh as a temporary solution for now.

guillaumealgis commented 5 years ago

Don't worry about it, it's no emergency. I was using Postico until then and was just giving TablePlus a try 👍

cruzo333 commented 4 years ago

Is there any plan on the roadmap to support connection to databases using VPN? It's the same case as the original issue. I need to connect to a MSSQL database using a VPN and I'm not able to do it in Table Plus. I got the following error and the VPN and database are working properly because I'm doing a couple of queries in another client on the same machine

Screen Shot 2020-04-19 at 03 49 18

Thank you

proton1k commented 4 years ago

I have the same problem with connecting to remote server ( not local ) while using VPN connection. If I disconnect VPN, it works fine as expected, so clearly the issue is with configuration somewhere. Is there a way to connect via VPN already?

elahmo commented 3 years ago

@cruzo333 same issue here, I wasted a lot of time today thinking something was wrong with my VPN and MSSQL server, but it turns out its a TablePlus issue.

huyphams commented 3 years ago

I can connect to any server with VPN (Cloudflare Warp) and many users out there can. There are a lot of edge cases and we simply could not cover all that cases. If you have any issues please try with other clients (to confirm the credentials are correct) or create a tunnel using ssh command line. I'm trying to reproduce the issue but it's not that simple and I think I need lots of luck to fix this issue.

elahmo commented 3 years ago

@huyphams This is with MSSQL server, without SSH, so its just a normal username/password combination. Other clients work, such as Beekeeper and Azure Data Studio, but I prefer the native feel of TablePlus and those tools are barely usable

huyphams commented 3 years ago

SQL Server is very complicated. There are many drivers that support it with various input syntax, TablePlus uses freetds (as it's a native), can you can give me your error message?

huyphams commented 3 years ago

Beekeeper didn't use Freetds so the input syntax in Freetds could be a bit different

elahmo commented 3 years ago

This is what I am getting:

Error: Read from the server failed (prod.database.example.com)
Adaptive Server connection failed (prod.database.example.com) 
Message: 

(no message is present)

huyphams commented 3 years ago

https://stackoverflow.com/questions/11721403/read-from-the-server-failed-when-trying-to-connect-to-sql-azure-from-tsql

The error is caused by the use of the wrong version of TDS.
To resolve just specify the TDS version

Could you please try to change this input?

Screen Shot 2021-08-31 at 3 33 23 PM
elahmo commented 3 years ago

Awesome, thank you! This works!

huyphams commented 2 years ago

Hi, we added support ed25519 in this patch, if you have a chance, please try it (also don't leave the ssh user empty): https://www.dropbox.com/s/3rkgc4yylrr9buj/TablePlus.dmg?dl=0

lcapka commented 1 year ago

Hi, I'm having the same type of problem as reported here - unable to connect to PostgreSql DB over SSH (SSH username is filled, no password, using private key) when Warp (Cloudflare) VPN is active. Verified on the latest version of TablePlus (build 469). The connection to the SSH server works well.