Skip to content

ssh_example

Eclipse Webmaster requested to merge github/fork/jrrk/ssh_example into master

Created by: jrrk

This is an example sdk config for ssh usage. The secret keys may be generated on the host as they are platform independent. If not present then the target will laboriously generate them on every boot (not really apart from the first time through). You can also use sftp to save the files from Ariane.

buildroot by design does not run as root, so host keys need to be owned by the user. This is incompatible with what sshd expects, so a temporary script fixes up the permissions during booting. There is almost certainly a better way to do this. Another hack is the fixed MAC address. According to Digilent documentation this number is meant to be read from a fixed area of SPI flash. This number can be manually changed if more than one GenesysII is used on the same VLAN, the correct number is written on the back of the board.

iperf3 is enabled to enable network performance gathering. At the moment it evaluates to 2Mbits/s (500 times slower than the Ethernet on the wire). Also tcpdump may be useful for debugging. The udhcpc script has been modified to support the iproute2 package, since the busybox version of route seems to be broken in this kernel version (this has been obsolete for at least 10 years).

I found it necessary to comment out some less relevant packages to cope with a hidden size limit on bbl.bin. So sorry if your favourite package was deleted. Once NFSroot is up and running these size limits will disappear.

Merge request reports

Loading