ssh permission denied (publickey)
TheChristographer opened this issue · 9 comments
hi, im trying to set my device up for the first time and when i fist ssh'ed into 10.0.0.2 it started to go right through i typed yes and then it said ssh permission denied (publickey). now everytime i try to to ssh in it just says that over and over again. any help would be appreciated and im new to this sort of stuff so take it easy on me. Thank you
UPDATE: i resolved the above issue and ssh'ed into the pwnagotchi but when i jump over to filezilla to finish the config it just says access denied and Connot connect
If you're not already using the root user, try logging in as root. First you need to enable root ssh login in the /etc/ssh/sshd_config. Change PermitRootLogin from no to yes. If you did everything correctly you can now login as root.
@timmosaurusrex
I did that part before I tried using FileZilla to finish the config but that's when I get an access denied trying to login as-
10.0.0.2
Username-Root
Password-password
Port-22
I can login through the terminal as pi and switch to root but it won't let me connect in FileZilla. Any insight into why?
Also could I just finish setup by editing the "config.toml" directly on the sd and then plug it back in?
Hi, I have the same issue with the credential : pi@10.0.0.2 and pwd: raspberry is wrong. (permission denied )
Please can you provide me the right way to connect to my pizero w2.
Thnaks
Hi, I have the same issue with the credential : pi@10.0.0.2 and pwd: raspberry is wrong. (permission denied ) Please can you provide me the right way to connect to my pizero w2. Thnaks
Got the same problem..fresh install, first boot shows new ethernet, changed to static ip, pinged to test and got answer, tried to ssh in, accepted the host request with yes, tried passwrod: raspberry, permission denied, try again. Let me know when you figure it out.
i replyed to anasbousselham above
@timmosaurusrex
I did that part before I tried using FileZilla to finish the config but that's when I get an access denied trying to login as-
10.0.0.2
Username-Root
Password-password
Port-22
I can login through the terminal as pi and switch to root but it won't let me connect in FileZilla. Any insight into why?
Also could I just finish setup by editing the "config.toml" directly on the sd and then plug it back in?
I hope i understand the issue correctly. Try connecting using ssh and switch to root user. After that edit the /etc/ssh/sshd_config using your favorite text editor. I use nano, so for me it will be "nano /etc/ssh/sshd_config". Go to the line where you see something with "permit root login" and edit it to yes. Quit nano and restart your pi or restart the sshd service. You should now be able to login as root in FileZilla.
I encountered the same problem as you, once I entered the "sshd_config" file I cannot find the "PermitRootLogin" entry and this does not allow me to log in with FileZilla.