Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
zehnm opened this issue Apr 7, 2021 · 0 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working remote-os

Comments

@zehnm
Copy link
Member

zehnm commented Apr 7, 2021

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

@zehnm zehnm added the bug Something isn't working label Apr 7, 2021
@zehnm zehnm added this to the Full System Update milestone Apr 7, 2021
@zehnm zehnm self-assigned this Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working remote-os
Projects
None yet
Development

No branches or pull requests

1 participant