Skip to content

remagic setup v0.2.0 overwrites default ~/.ssh/id_ed25519 key #4

Description

@x-n2o
❯ curl -fsSL https://raw.githubusercontent.com/maximerivest/remagic/main/get.sh | sh
==> downloading remagic-darwin-arm64 (latest release)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 9306k  100 9306k    0     0  17.1M      0 --:--:-- --:--:-- --:--:-- 17.1M
  ✓ installed: /Users/ledio/.local/bin/remagic
==> starting setup (Ctrl-C to stop; run '/Users/ledio/.local/bin/remagic setup' any time)
password for root@10.11.99.1 (tablet: Settings → Help → Copyrights and licenses):
remagic: connect root@10.11.99.1: ssh: handshake failed: inappropriate ioctl for device
❯ curl -fsSL https://raw.githubusercontent.com/maximerivest/remagic/main/get.sh | sh
==> downloading remagic-darwin-arm64 (latest release)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 9306k  100 9306k    0     0  58.1M      0 --:--:-- --:--:-- --:--:-- 58.1M
  ✓ installed: /Users/ledio/.local/bin/remagic
==> starting setup (Ctrl-C to stop; run '/Users/ledio/.local/bin/remagic setup' any time)
password for root@10.11.99.1 (tablet: Settings → Help → Copyrights and licenses):
remagic: connect root@10.11.99.1: ssh: handshake failed: inappropriate ioctl for device
❯ remagic setup
password for root@10.11.99.1 (tablet: Settings → Help → Copyrights and licenses):

  remagic setup — make your reMarkable Paper Pro magical.

  This will, over the connection just opened:
    1. Verify this is a Paper Pro in developer mode
    2. Install an SSH key (no more passwords; one is created if you have none)
    3. Install xovi + the AppLoad launcher (official upstream releases)
    4. Set up power-button persistence (triple-press toggles xovi)
    5. Install the Store app, so future installs need no computer

  Nothing here touches your notebooks or the bootloader. A triple-press or a
  reboot returns you to stock reMarkable instantly.

==> checking the device
  ✓ device: reMarkable Ferrari
  ✓ OS version: 3.28.0.162
==> setting up passwordless SSH
  ✓ generated a new SSH key (~/.ssh/id_ed25519)
  ✓ SSH key installed — no more password prompts.
==> downloading the xovi bundle
  ✓ 6019 KB
==> installing xovi onto the tablet
  ✓ xovi installed at /home/root/xovi
==> downloading AppLoad
  ✓ 4022 KB
==> installing the AppLoad launcher
  ✓ AppLoad installed
==> rebuilding the Qt resource hashtable (best-effort)
  ! couldn't rebuild non-interactively — AppLoad works without it
==> installing power-button persistence (xovi-tripletap)
    triple-press the power button to toggle xovi — survives reboots,
    needs no computer, and can't bootloop you
  ✓ tripletap installed
==> checking the SSH server survived
  ! new SSH connections aren't completing; one reboot of the tablet fixes it
==> starting xovi (no reboot needed)
  ✓ xovi started — AppLoad should appear on the tablet
==> installing the Store app (browse + install apps on the tablet itself)
==> downloading Store 0.1.1
==> installing onto the tablet
  ✓ Store 0.1.1 installed. On the tablet: open AppLoad and tap Reload.
  ✓ (a running copy keeps the old version until relaunched)
  ✓ Store installed

  ✓ Done. On the tablet: open AppLoad — the Store is inside.

    remagic install <app>     install apps from this computer
    remagic config <app>      configure an app from your browser
    remagic wifi on           make the cable optional
    remagic doctor            health check any time

  Re-run 'remagic setup' after a reMarkable OS update.
❯ ls -la ~/.ssh
total 72
drwx------@  12 ledio  staff   384 Jul  8 07:18 .
drwxr-x---+ 108 ledio  staff  3456 Jul  8 07:17 ..
-rw-r--r--@   1 ledio  staff  6148 May 26 17:42 .DS_Store
drwx------    3 ledio  staff    96 Jul  8 07:16 1Password
drwx------    4 ledio  staff   128 Jul  8 07:18 agent
-rw-------    1 ledio  staff   294 May 28 14:42 authorized_keys
-rw-r--r--    1 ledio  staff   162 Jun 17 11:57 config
-rw-------    1 ledio  staff   400 Jul  8 07:18 id_ed25519
-rw-r--r--    1 ledio  staff    89 Jul  8 07:18 id_ed25519.pub
-rw-------    1 ledio  staff  3022 Jul  4 10:45 known_hosts
-rw-------    1 ledio  staff  2280 Jul  4 10:45 known_hosts.old
❯ remagic version
remagic v0.2.0

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions