Skip to content

SSH keys can no longer be copied to remote due to read-only root file system #77

Description

@zehnm

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:

  1. Generate your local SSH keys with ssh-keygen
  2. Copy your public key to the remote: ssh-copy-id root@yio-remote
  3. Enter root password at prompt
  4. 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:
    • YIO Remote
    • Standalone Raspberry Pi

Additional context

Error reason: there's no overlay for /root or bind-mount for /root/.ssh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions