A colleague has OSMC set up on a Raspberry Pi, and a few months ago they reset the ssh password for user osmc. Unfortunately they’ve now forgotten what that password was, so can it be reset either via the GUI or some other way please?
They are using ssh osmc@ip but both the default pass and what they thought it was set to doesn’t work anymore.
I also had a mysterious password fail during an upgrade, I had only just changed the password before the update, so I blame bad typing, however with the current build I had to:
Edit /boot/cmdline.txt (e.g. by putting the flash card in another machine) and add the following to the end of the first line init=/bin/bash
I’m having difficulty using PuTTY to SSH into my Pi. After entering my password it said “Access Denied”. So I followed the steps here and successfully changed my password and then tried to log in again and once again got “Access Denied”.
SSH server is running, I’m only failing after it asks me for a password.
Currently running the latest version Kodi 16.1.
Any ideas?
Yep, once I reset my password successfully, I put the memory card into my laptop, removed the additional line from the cmdline.txt and popped the memory card back into my Pi.
It fired up normally and I tried to connect via SSH both using PuTTY on my windows laptop and Terminal on my mac.
Both were able to see the Pi and get to the log in, but on putting in the password when requested they both reported access denied.
This was the only two explanations I could arrive at also, but I checked and double checked the IP address. Plus if I had the wrong address I wouldn’t be able to get as far as I was getting with PuTTY whereby it was then requesting the password.
As for the password, I had only just entered (and re-entered) the new password and I kept it simple with lowercase “osmc”
I have a keyboard I can connect to the Pi. What do you suggest?