You are not logged in.

#1 2017-11-04 11:38:31

jaap aarts
Member
Registered: 2017-09-04
Posts: 30

cannot push to AUR: bad ssh2 cypher [SOLVED]

3 days ago a synergy2 update was released, and I have to update the package(since I am the maintainer of course)
I have all the config files in place, created a new cypher, put the public key in my profile, checked ~/.ssh/config.
The current content of ~/.ssh/config:

Host aur.archlinux.org
  IdentityFile ~/.ssh/aur
  User aur

Host 192.168.1.254 \\ stuff for my home network
  KexAlgorithms +diffie-hellman-group1-sha1

I made a new cypher ssh-keygen -f ~/.ssh/aur and no password

yet when I try to push to the ssh link on the package page(not the one with "readonly" behind it)
I get an error message telling me to check if I have the correct rights:

/etc/ssh/ssh_config line 51: Bad SSH2 cipher spec '3des-cbc,blowfish-cbc,cast128-cbc,arcfour,arcfour128,arcfour256,aes128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com'.
fatal: Could not read from remote repository.

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

this is inside the same local git repo I used previously to push without any problems.

EDIT


fixed by removing the cyphers listed in the error from the global ssh config.

Last edited by jaap aarts (2017-11-10 13:23:52)

Offline

#2 2017-11-04 13:32:57

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,860
Website

Re: cannot push to AUR: bad ssh2 cypher [SOLVED]

jaap aarts, I notice you have marked this as solved, but you don't seem to have included the solution. Please could you explain what it was that you needed to do to resolve the issue? Otherwise other people with the same problem won't be able to use this topic to resolve it.

https://wiki.archlinux.org/index.php/Co … way_street


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB