Adam W. Cooper Adam W. Cooper - 1 year ago 96
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

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 Source

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

ssh -c aes128-ctr machine@your-host 
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download