Able to log into OSMC box via SSH directly but not remotely


I am trying to log into my OSMC box remotely via ssh but am unable.

But I have been able to log into via a direct link via connecting a keyboard to the OSMC box via the command ssh where i changed the password via the passwd command.

So when I try to log in remotely via a terminal window on my Macbook I am still getting the error:

Permission denied, please try again.

If anyone can advise I would appreciate it greatly.


Please issue the following command and post the link provided:

cat /etc/ssh/sshd_config | paste-log

Thanks Tom.

This is my configuration


That’s /etc/ssh/ssh_config which is the ssh client configuration, sorry but as requested need to see /etc/ssh/sshd_config which is the server/daemon configuration.

Thanks Tom.

Ah… here you go

Er, it should be osmc. The wrong username will give you that error.


AHH… you are correct… corrected command and can log in