I've been looking online for about two months now with no luck for my problem. I am on Ubuntu. My pi's static ip is 169.254.0.2. The Ubuntu ethernet connection I have for it has the same static ip and gateway for IPv4. I don't have the IPv6 settings configured at all for that connection. Strangely, whenever I set the IPv4 netmask to 255.255.255.0 it turns back up as 24 when I look at it again, but cursory googling suggests this is a harmless quirk of Ubuntu.

Anyway. I can ping the pi, and when I ssh to [email protected] it successfully connects and requests the username, but when I give it the password it says permission denied. I can ssh over puTTY in Windows 7, but I've tried this on Ubuntu using the command line and Linux puTTY and no dice.

$ ifconfig yeilds:

> eno1      Link encap:Ethernet  HWaddr 5c:26:0a:5f:46:22  
>           inet addr:169.254.0.2  Bcast:169.254.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::f48c:b007:86a1:20ac/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:21 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:477 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:6347 (6.3 KB)  TX bytes:69932 (69.9 KB)
>           Interrupt:20 Memory:e2d00000-e2d20000 
> 
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:65536  Metric:1
>           RX packets:36094 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:36094 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1
>           RX bytes:3093674 (3.0 MB)  TX bytes:3093674 (3.0 MB

Is there something I am doing wrong with my ethernet connection or what? Why is it giving me this problem?
Many thanks. I can post the ssh -vvvv output if necessary but it's long, so please just let me know.