Page MenuHomePhabricator

qgarnier (quentin garnier)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 31 2017, 2:40 PM (169 w, 6 d)

Recent Activity

Thu, Nov 19

qgarnier added a comment to T237: ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 3:invalid DH value.

I have fixed it. I have set: KexAlgorithms diffie-hellman-group1-sha1

Thu, Nov 19, 6:37 PM · Restricted Project

Sep 24 2020

qgarnier added a comment to T249: proxycommand still running event after connection closed.

I have the issue with libssh 0.9.2. I have tested with version 0.9.4 and it seems ok.

Sep 24 2020, 9:44 AM

Sep 23 2020

qgarnier created T249: proxycommand still running event after connection closed.
Sep 23 2020, 3:57 PM

Sep 11 2020

qgarnier added a comment to T247: [sftp] sftp_new - channel opening failure.

It's not an issue about libssh. In fact, we can only open 1 channel on the ssh connection. It's because of the software: Wallix bastion. Thanks for the help!

Sep 11 2020, 6:36 PM
qgarnier closed T247: [sftp] sftp_new - channel opening failure as Invalid.
Sep 11 2020, 6:36 PM

Sep 3 2020

qgarnier added a comment to T247: [sftp] sftp_new - channel opening failure.

I use exactly that functions: https://github.com/garnier-quentin/perl-libssh/blob/master/lib/Libssh/Sftp.pm#L69

Sep 3 2020, 1:17 PM
qgarnier updated the task description for T247: [sftp] sftp_new - channel opening failure.
Sep 3 2020, 11:56 AM
qgarnier created T247: [sftp] sftp_new - channel opening failure.
Sep 3 2020, 11:54 AM

Jul 9 2020

qgarnier added a comment to T237: ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 3:invalid DH value.

Here the debug. It seems OpenSSH has the same issue.

Jul 9 2020, 11:43 AM · Restricted Project

Jul 7 2020

qgarnier added a comment to T237: ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 3:invalid DH value.

With following in ssh_config for my host, it's working:
Host 192.168.xxx.xxx

KexAlgorithms diffie-hellman-group1-sha1
Jul 7 2020, 5:09 PM · Restricted Project
qgarnier added a comment to T237: ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 3:invalid DH value.

Okay. So i cannot change the server (update or settings). I will try to force 'diffie-hellman-group14-sha1'. Thanks!

Jul 7 2020, 5:05 PM · Restricted Project
qgarnier created T237: ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 3:invalid DH value.
Jul 7 2020, 3:43 PM · Restricted Project

Sep 18 2019

qgarnier added a comment to T75: OpenSSH : ssh_channel_new and ssh_channel_open_session blocks when we reach MaxSessions limit.

I have a request. Could you add the perl binding in the listing ? Or is not enough finished for that ?

Sep 18 2019, 9:41 AM · Restricted Project
qgarnier added a comment to T75: OpenSSH : ssh_channel_new and ssh_channel_open_session blocks when we reach MaxSessions limit.

I have tested and it's working now! Thanks

== authentification succeeded
================================================
=== exit = -1
error: Channel opening failure: channel 53 error (1) open failed
================================================
================================================
=== exit = -1
error: Channel opening failure: channel 54 error (1) open failed
================================================
================================================
=== exit = -1
error: Channel opening failure: channel 55 error (1) open failed
...
Sep 18 2019, 9:35 AM · Restricted Project

Sep 17 2019

qgarnier added a comment to T75: OpenSSH : ssh_channel_new and ssh_channel_open_session blocks when we reach MaxSessions limit.

Thanks! I test tomorrow with your patch on libssh. I give you a feedback if it solved or not.

Sep 17 2019, 4:50 PM · Restricted Project
qgarnier added a comment to T75: OpenSSH : ssh_channel_new and ssh_channel_open_session blocks when we reach MaxSessions limit.

You can test it if you have a rhel/centos 7. Need to install rpm:
https://github.com/garnier-quentin/perl-libssh/tree/master/contrib/RPMS

Sep 17 2019, 9:21 AM · Restricted Project
qgarnier added a comment to T75: OpenSSH : ssh_channel_new and ssh_channel_open_session blocks when we reach MaxSessions limit.

I didn't test with 'MaxSession 0'. I let the default value. I have done a new test with libssh 0.9.0. I tried to open 12 channels at the same time. Now it hangs on 'ssh_channel_request_exec'.
I should have an error before when i tries to open a session with 'ssh_channel_open_session' no ?

Sep 17 2019, 9:18 AM · Restricted Project

Aug 31 2017

qgarnier created T75: OpenSSH : ssh_channel_new and ssh_channel_open_session blocks when we reach MaxSessions limit.
Aug 31 2017, 2:46 PM · Restricted Project