You are not logged in.

#1 2018-09-01 18:35:39

kuzulis
Member
Registered: 2018-05-10
Posts: 12

Configure Qt gerrit git ssh access via Tor

Hi guys.

I need to use the tor to avoid a blocking of the codereview.qt-project.org (in my country sad().

The git-ssh configuration described here: http://wiki.qt.io/Setting_up_Gerrit

I successfully do it on Windows with following ~/.ssh/config:

Host codereview.qt-project.org
Port 29418
User <my-login-name>
ProxyCommand ncc -X 5 -x localhost:9050 %h %p

but same config does not work with ArchLinux, it returns with an error:

[denis@arch qtlocation]$ git fetch ssh://<my-login-name>@codereview.qt-project.org:29418/qt/qtlocation refs/changes/92/237992/1 && git checkout FETCH_HEAD
Unable to negotiate with UNKNOWN port 65535: no matching cipher found. Their offer: aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Then I have created another config:

Host http://codereview.qt-project.org-gerrit
    Hostname http://codereview.qt-project.org
    Port 29418
    User <my-login-name>
    Ciphers +aes256-cbc
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/id_rsa.pub
    ProxyCommand socat STDIO SOCKS4A:127.0.0.1:%h:%p,socksport=9050

It returns with an error:

[denis@arch qtlocation]$ git fetch ssh://<my-login-name>@codereview.qt-project.org:29418/qt/qtlocation refs/changes/92/237992/1 && git checkout FETCH_HEAD
Unable to negotiate with 54.229.21.112 port 29418: no matching cipher found. Their offer: aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Of course, I have added the SSK-keys to the my gerrit profile, have installed and started the tor service (via systemctl), and have installed the socat && openbsd-netcat.

PS: I have checked the tor service via chromium browser with configured socks5 proxy.

Could someone help me please?

Last edited by kuzulis (2018-09-01 18:45:34)

Offline

Board footer

Powered by FluxBB