[Buildroot] ssh: connect to host pi adress port 22: Connection refused

FrAnKenStEiN MC chfakht at gmail.com
Mon Jan 25 02:37:18 UTC 2016


i'm having some trouble when trying to connect to my raspberry b+. i have
used **buildroot** with raspberrypi_defconfig and add dropBear package for
SSH , change hostname to pi and root password to 123.
make runned successfully and i was able to deploy the necessary files on
the pi ...


I gave the pi a static adress `10.42.0.5` and it's detected correctly in my
ethernet network
here are some commands :

    nmap -sP 10.42.0.0/24
    Starting Nmap 6.40 ( http://nmap.org ) at 2016-01-25 02:23 WET
    Nmap scan report for 10.42.0.1
    Host is up (0.00017s latency).
    Nmap scan report for 10.42.0.5
    Host is up (0.0069s latency).
    Nmap done: 256 IP addresses (2 hosts up) scanned in 2.61 seconds

The pi adress is `10.42.0.5`

For the ping it runs successfully

    ping -c 3 10.42.0.5
    PING 10.42.0.5 (10.42.0.5) 56(84) bytes of data.
    64 bytes from 10.42.0.5: icmp_seq=1 ttl=64 time=4.83 ms
    64 bytes from 10.42.0.5: icmp_seq=2 ttl=64 time=3.03 ms
    64 bytes from 10.42.0.5: icmp_seq=3 ttl=64 time=2.03 ms

    --- 10.42.0.5 ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2003ms
    rtt min/avg/max/mdev = 2.035/3.303/4.836/1.158 ms

But whe trying ssh i get `connection refused`

    ssh pi at 10.42.0.5
    ssh: connect to host 10.42.0.5 port 22: Connection refused

I couldn't solve this problem all the day !!!

thanks a lot
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160125/f9e4121f/attachment.html>


More information about the buildroot mailing list