Topics
- Frequently Asked Questions
Shipping, Daily Usage, Problem fixes… - Technical Details
Specs, Access, OS, Hardware and Accessories, … - Tips & Tricks
Customizing, 3rd Party Software, File Transfer … - Development
How to write your own Software
| ★ wanayoo — archive 1999 http://remarkablewiki.com/tech/ssh | Nouvelle recherche | Portail wanayoo |
reMarkable have kindly enabled ssh access to the device by default. There are no user accounts so you need to use the root account to log into the device. As this is the Linux superuser account, please be aware that you can break things easily with this account if you aren't careful.
The password for the root account is randomly created by the software on the device when it starts and is visible at the bottom of the Compliance statements in the About section of the reMarkable settings:
You will need an ssh client for your machine, for example putty on a PC, terminal on a Mac or Linux box, chronos shell from a Chromebook (in developer mode).
Example from a Chromebook shell (in developer mode):
chronos@localhost ~ $ ssh root@10.11.99.1 root@10.11.99.1's password: reMarkable ╺━┓┏━╸┏━┓┏━┓ ┏━╸┏━┓┏━┓╻ ╻╻╺┳╸┏━┓┏━┓ ┏━┛┣╸ ┣┳┛┃ ┃ ┃╺┓┣┳┛┣━┫┃┏┛┃ ┃ ┣━┫┗━┓ ┗━╸┗━╸╹┗╸┗━┛ ┗━┛╹┗╸╹ ╹┗┛ ╹ ╹ ╹ ╹┗━┛ remarkable: ~/
You can set up an alias that's easier to remember by adding the following lines to the .ssh/config file on your computer:
host remarkable
Hostname 10.11.99.1
User root
The reMarkable uses dropbear (via busybox) for its ssh server and supports ssh keys (definitely rsa, as there have been some issues with ed25519 SHA256 keys). By doing so, you can save yourself from entering the random password in the future.
On your host machine, generate a ssh-key if you haven't done so already
$ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/chronos/user/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/chronos/user/.ssh/id_rsa. Your public key has been saved in /home/chronos/user/.ssh/id_rsa.pub. The key fingerprint is: SHA256:kONWRVsc4pHeO/ObKieTqJO2A6ZdqY5Zv2v+70SaVD0 chronos@localhost The key's randomart image is: +---[RSA 2048]----+ | .=oo. | | . o.*. | | + ..+.E | | . + .. .. | | o.S . . | | o.o. + + | | +.+ .o... + | | .+o.* ..= . .. | | o..+BO.oo=..o. | +----[SHA256]-----+
To authorize your host machine on the reMarkable using ssh-copy-id
$ ssh-copy-id root@10.11.99.1 /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/chronos/user/.ssh/id_rsa.pub" /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys root@10.11.99.1's password: Number of key(s) added: 1 Now try logging into the machine, with: "ssh 'root@10.11.99.1'" and check to make sure that only the key(s) you wanted were added.
The reMarkable should be accessible to the host machine without providing a password.
To copy and authorize your ssh keys without ssh-copy, begin by creating a .ssh directory on your reMarkable
<pre> remarkable: ~/ mkdir /home/root/.ssh </pre>
On your host machine, proceed by appending your host key to the devices authentication list <pre> $ cat ~/.ssh/id_rsa.pub | ssh root@10.11.99.1 “cat » .ssh/authorized_keys” </pre>
On your reMarkable, set the access rights of the
.ssh
directory to read-only
remarkable: ~/ chmod -R og-rwx /home/root/.ssh
The reMarkable should be accessible to the host machine without providing a password.