[BUG] SSH Protocol error with latest SDK (Qt-Creator 3.1.2) for Linux
I was earlier notified by the Qt-Creator of the SDK, that an update was available, and as usual it ended up with having to uninstall the whole and reinstall - a pain n the * but I'll live.
But when trying to pair the Jolla with the SDK (New Mer ARM Device Setup->Public Key Deployment->Connection) - when trying to test the connection, I get the following status:
"SSH Protocol error: Server and client capabilities don't match. Client list was: aes128-cbc,3des-cbc. Server list was aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com."
The IP, port, username, password should be fine and the Generate new SSH keys has been enabled (default). It works perfectly fine with the emulator.
Anyone able to figure this one out ?
Indeed I had similar issues when connecting to the emulator (bizarre) via ssh after the update. I know use
ssh -p 2223 -i ~/SailfishOS/vmshare/ssh/private_keys/SailfishOS_Emulator/nemo nemo@localhost
instead of ssh -p 2223 nemo@localhost.
Which seems to work but obviously there has been some changes. Last time I connected Jolla via ssh it needed to agree to add a new ssh key. I don't know what went wrong with that last SDK update, but there is something...
MikErk ( 2015-03-19 18:31:09 +0200 )editThe ssh library used in SailfishOS IDE offers two ciphers: aes128-cbc and 3des-cbc. Those match to your client list as expected. By a quick look there haven't been configuration changes on the device side, so on 1.1.2.16 the server list should be: "aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se". The list of ciphers offered by the Openssh server can be changed for example by modifying the "Ciphers" line in "/etc/ssh/sshd_config", so first check that for changes. Normal installation uses the default cipher list and doesn't specify any ciphers in that config file.
Jare ( 2015-03-27 19:15:38 +0200 )editI have the same problem with actual sdk Beta-1506. Any solutions or workarounds that work? I recognized that after updating my Jolla to 1.1.6.27, Warehouse updated my openssh stuff. Could this the problem?
Black Sheep ( 2015-06-20 18:25:36 +0200 )editIt is now august, I just installed the SDK afresh today. I get the message:
SSH Protocol error: Server and client capabilities don't match. Client list was: aes128-cbc,3des-cbc. Server list was aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com.
My PC's output for ssh -Vv is OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan 2014
My phone's output for ssh -Vv is OpenSSH_6.8p1, OpenSSL 1.0.2 22 Jan 2015
My phone is too new? I have Aaslakkajärvi (1.1.6.27)
Bokkie ( 2015-08-10 02:12:13 +0200 )edit@Bokkie: In 1.1.6.27 the official Openssh package version is 5.6p1+git9. Your version on the phone is much newer than this, which means that you've probably gotten it from e.g. Openrepos. The newer version has a different default cipher list, which causes the issue. Please reinstall the Openssh package from the official repository.
Jare ( 2015-08-10 12:02:30 +0200 )edit