Hi, I have 2 raspberry pi 2’s with OSMC july 2018
Using Winscp on PC I can connect to both of them.
Using es file explorer on phone I can only connect to one of them.
I got permission denied trying to edit the file so I compared the file on both raspberry pi’s and noticed they are completelly different.
Any idea why they are different? and which should be the correct one? (I’m guesseing RPI One)
Also how can I copy the correct one over without getting permission denied in winscp.
edit: not sure why some text has gone massive.
RPI One - Can connect through es file explorer (Text at start of file)
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key #Privilege Separation is turned on for security
UsePrivilegeSeparation sandbox
Thanks, I’ve emailed the developer of es file explorer and asked if there’s an update coming for it.
I looked at the dates of the files in the ssh folders and it’s strange that some are newer on the box that connects and some are newer on the box that doesn’t connect, one box has ucf file and other has dpkg.
I’m thinking the difference is probably caused by updating them at different times? I skipped a few months sometimes.
Well there could be several reasons for that.
Anyhow the correct box is the one you can not connect to and it should have this section in there. So unless you want to make both accessable by current version of es file explorer (unsecure) I suggest to copy the sshd_config from the working to the non working
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation sandbox
Ok thanks for the help
I’ll probably copy the code over and see if there’s a different android app that supports the new key exchange until es file explorer is updated.