Android FX Explorer can’t connect to Raspberry pi with OSMC via SSH
Since the last update of OSMC in my Raspberry PI I was unable to connect from my smartphone using this awesome app called FX Explorer on the other and I still can use Juiced SSH.
So I had to dig on that problem!
After I little search I finally manage to find the problem, the last version of OSMC had a different configuration
1 | $ sudo vim /etc/ssh/ssh_config |
That was a missing algorithm in that line:
1 | KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256 |
Just add
1 | diffie-hellman-group-exchange-sha1 |
So the line looks like:
1 | KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1 |
Now save, exit and restart sshd service
1 | $ sudo systemctl restart sshd |
And you’re done!