Adam W. Cooper Adam W. Cooper - 3 months ago 10
Linux Question

Is there a way to add Ciphers to Cygwin

I currently trying to ssh into a windows computer from a linux machine.On the windows machine I have setupt a cygwin shell and am trying to connect to it through ssh. Upon doing so I get the following error.

> Connection open failed; Key exchange failed (local): Cipher (client
> to server) negotied. Client algorithms are
> aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc, server
> chacha20-penssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh


Is there any way for me to add or update the Ciphers for cygwin? I tired updating the ssh_config and sshd_config files to no avail.

Also for an added bit of challenge, I don't have sudo access on the linux machine and can't install anything. Any solution would ideally involve not changing anything on the client side. Any bit of help or advice would be greatly appreciated.

Answer

Just force it to use the right cipher using the -c flag

ssh -c aes128-ctr machine@your-host