User avatar
furriephillips
Posts: 2
Joined: Mon Sep 29, 2014 8:48 pm

Why is Jessie asking for a password?

Sun Nov 06, 2016 10:14 pm

I have been banging my head against this problem for a few days, now.

Downloaded https://downloads.raspberrypi.org/raspbian_latest and wrote the .img to a 32GB MicroSD card. I mounted the card on my Backbox laptop & altered /boot/ config.txt & cmdline.txt (as per the instructions on http://blog.gbaman.info/?p=791), unmounted the card, plugged it into my Raspberry Pi Zero & plugged the Pi0's USB port into my laptop. I tweaked the laptop's network config, to share its connection with the Pi0 & can see that the Pi0 gets an IP address: -

Code: Select all

% ifconfig enp0s20u1
enp0s20u1 Link encap:Ethernet  HWaddr 5e:95:da:6b:6a:52  
          inet addr:10.42.0.1  Bcast:10.42.0.255  Mask:255.255.255.0
          inet6 addr: fe80::1b10:3e40:e674:b15a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:245 errors:0 dropped:0 overruns:0 frame:0
          TX packets:415 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:22393 (22.3 KB)  TX bytes:66388 (66.3 KB)
When I try to ssh to this IP, I get permission denied messages (using the pi:raspberry combo & even when using known incorrect passwords): -

Code: Select all

% ssh [email protected]
[email protected]'s password: 
Permission denied, please try again.
[email protected]'s password: 
Permission denied, please try again.
[email protected]'s password: 
Permission denied (publickey,password).
I even tried mounting the SD card and adding my ssh key to the pi user's ~pi/.ssh/authorized_keys, as I have in my existing Pis, to no avail.

I hope I don't get too much flack for thread stealing, but I think it's the same scenario, or as near as dammit, so may help.
Cheers,
--
ChrisP

User avatar
rpdom
Posts: 16320
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Why is Jessie asking for a password?

Mon Nov 07, 2016 6:52 am

furriephillips wrote:I have been banging my head against this problem for a few days, now.

I tweaked the laptop's network config, to share its connection with the Pi0 & can see that the Pi0 gets an IP address: -

Code: Select all

% ifconfig enp0s20u1
enp0s20u1 Link encap:Ethernet  HWaddr 5e:95:da:6b:6a:52  
          inet addr:10.42.0.1  Bcast:10.42.0.255  Mask:255.255.255.0
          inet6 addr: fe80::1b10:3e40:e674:b15a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:245 errors:0 dropped:0 overruns:0 frame:0
          TX packets:415 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:22393 (22.3 KB)  TX bytes:66388 (66.3 KB)
When I try to ssh to this IP, I get permission denied messages (using the pi:raspberry combo & even when using known incorrect passwords): -
That address isn't the Pi. It is your laptop. The Pi is at the other end of the connection and will have a different address, also starting with 10.42.0. Try ssh [email protected] for a start. (I approve of the choice of a .42 subnet :-) ).
I hope I don't get too much flack for thread stealing, but I think it's the same scenario, or as near as dammit, so may help.
You will! That's one of the main forum rules here. I'll tag it and ask the mods to split it off into its own thread.
It's easier to just start a new post if you are unsure.

Return to “Raspbian”