Closed mlavi closed 2 years ago
Have you try raspberry as password??
Yes, that failed as well.
Installed 14 june 2022 image on my RPi 4, enabled Developer Mode. Settings > Developer > Enable SSH (checkbox)
$ ssh pi
pi@pi's password:
Permission denied, please try again.
pi@pi's password:
Permission denied, please try again.
pi@pi's password:
pi@pi: Permission denied (publickey,password).
Used passwords of candlesmarthome and raspberry to no avail multiple times.
Some more debug info:
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.4p1 Raspbian-5+b1
debug1: match: OpenSSH_8.4p1 Raspbian-5+b1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to pi:22 as 'pi'
Did you enable ssh in the web gui?
@arist0v Yes, I did! I checkboxed on: Settings > Developer > Enable SSH (checkbox) Otherwise, I don't believe I would get the password prompt. Yes, confirmed after disabling SSH:
$ ssh pi@pi
Error: failed to dial: dial tcp 192.168.1.214:22: connect: connection refused
does it work using the seashell addons?
Aha, I didn't know about seashell, thanks!
mkdir ~/.ssh && echo 'ssh-ed25519 example_hash example_comment' > ~/.ssh/authorized_keys
I am in now via ssh pi@pi
Yes but your bypassing the auth process with ssh key
Le lun. 20 juin 2022, 20 h 47, Mark Lavi @.***> a écrit :
Aha, I didn't know about seashell, thanks!
mkdir ~/.ssh && echo 'ssh-ed25519 example_hash example_comment' > ~/.ssh/authorized_keys
I am in now via ssh @.***
— Reply to this email directly, view it on GitHub https://github.com/createcandle/candle-controller/issues/35#issuecomment-1160999422, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSPAAHKQR6O6A3D5YTJNM3VQEGLNANCNFSM5X5MAUKA . You are receiving this because you were mentioned.Message ID: @.***>
After installing seashell addon by itself, no, the original passwords I tried above, still didn't work via ssh (IIRC). Was that what you had wanted me to try?
I also tried resetting password via echo pi:example_password | chpasswd
, but that didn't have a TTY session (I believe) and failed.
Seashell provide you a web gui ssh access, so when you still have issue, if you try seashell dit it work?
Le lun. 20 juin 2022, 20 h 54, Mark Lavi @.***> a écrit :
After installing seashell addon by itself, no, the original passwords I tried above, still didn't work via ssh (IIRC). Was that what you had wanted me to try?
I also tried resetting password via echo pi:example_password | chpasswd, but that didn't have a TTY session (I believe) and failed.
— Reply to this email directly, view it on GitHub https://github.com/createcandle/candle-controller/issues/35#issuecomment-1161007869, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSPAAG3C3XFMCFCVYVNAHTVQEHDXANCNFSM5X5MAUKA . You are receiving this because you were mentioned.Message ID: @.***>
Yes, I used seashell to execute the commands to set my SSH key for authentication to bypass password authentication.
Once I was SSH'd in, I confirmed that user pi's password is not either of the two suggestions, because I could not change the password:
pi@candle:/var/log $ passwd
Changing password for pi.
Current password:
passwd: Authentication token manipulation error
passwd: password unchanged
pi@candle:/var/log $ passwd
Changing password for pi.
Current password:
passwd: Authentication token manipulation error
passwd: password unchanged
Seashell doesn't execute commands over ssh, it runs commands locally on the OS: https://github.com/flatsiedatsie/seashell/blob/master/pkg/seashell.py#L166
Apologies, I just noticed that the readme.txt file mentioned the wrong password. It's smarthome
, not candlesmarthome
.
Just returned from a trip and confirmed, yes smarthome
is the password!
Thanks for correcting readme.txt, I recommend referencing this issue in the commit.
I have a Raspberry Pi 4b with ethernet connected and Candle 2.0.0 (May 27) installed.
I read the boot/readme.txt file to learn how to unlock developer settings in the web interface: I enabled SSH there and now I can ssh pi@DHCP, but it does not accept candlesmarthome as the password. Do I have the wrong password?