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. (As it turned out, there was only a problem with my pi's address. It didn't matter what my computer's address was.)

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
    
    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? 

Update: After changing the IP address to 192.168.1.23, ssh does not connect from either partition, Windows or Linux. Before it did connect, but not accept the password. I will change it back as soon as I can.

Update: Changed the IP address to 192.168.1.101 and it works like a charm. The bottom of my dhcpcd.conf file is as follows:

    interface eth0
    static ip_address=192.168.1.101/24
    static routers=192.168.1.1
    static domain_name_servers=192.168.1.1
    interface wlan0
    static ip_address=192.168.1.201/24
    static routers=192.168.1.1
    static domain_name_servers=192.168.1.1

which I got from [here][1]


  [1]: https://www.raspberrypi.org/forums/viewtopic.php?t=124423