Description
After introducing the read-only root file system, ssh keys can no longer be copied to the device with ssh-copy-id root@yio-remote.
How to Reproduce
Steps to reproduce the behavior:
- Generate your local SSH keys with
ssh-keygen
- Copy your public key to the remote:
ssh-copy-id root@yio-remote
- Enter root password at prompt
- See error:
mkdir: can't create directory '.ssh': Read-only file system
Expected behavior
SSH keys can be copied to remote and are persisted in the data partition.
Your Environment
- Version used: latest master
- Running on:
Additional context
Error reason: there's no overlay for /root or bind-mount for /root/.ssh