Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
DIOT Zynq Ultrascale-based System Board
DIOT Zynq Ultrascale-based System Board
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 12
    • Issues 12
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • image/svg+xml
    Discourse
    • Discourse
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Projects
  • DIOT Zynq Ultrascale-based System BoardDIOT Zynq Ultrascale-based System Board
  • Wiki
    • Software
  • Linux

Linux

Last edited by Adam Wujek Dec 09, 2021
Page history
  • Linux Startup
    • Store generated ssh keys permanently
    • Using generated keys for login

Linux Startup

During the startup of Linux, the content of the diot directory on the second partition on eMMC is copied to the /. This mechanism can be used e.g. to handle ssh keys on the DIOT board.

Store generated ssh keys permanently

To store generated ssh keys on eMMC type:

mkdir -p /run/media/mmcblk0p2/diot/etc/dropbear
cp /etc/dropbear/dropbear_rsa_host_key /run/media/mmcblk0p2/diot/etc/dropbear/

Using generated keys for login

To use ssh keys from the host machine to login to the DIOT board execute the following commands. On the host machine:

ssh-copy-id root@<diot_board>

On the DIOT board:

mkdir -p /run/media/mmcblk0p2/diot/home/root/.ssh
cp /home/root/.ssh/authorized_keys /run/media/mmcblk0p2/diot/home/root/.ssh
Clone repository
  • Backplane gth ibert analysis
  • Board specification
  • Software
  • Files
  • Home
  • Prototypes evaluation
  • PTS
    • Simple pts files
  • Software
    • Build system
    • Linux
    • Pts
    • Booting
    • Sensors for diagnostics
More Pages

New Wiki Page

Tip: You can specify the full path for the new file. We will automatically create any missing directories.