Moved the note about crypto policy changes to Troubleshooting section and changed it to be more generalized

This commit is contained in:
Jakob Frantzvåg Karlsmoen 2021-02-14 22:37:55 +01:00 committed by Rien Maertens
parent b32c195607
commit 1585869272
No known key found for this signature in database
GPG Key ID: AE66CE42F1AF9DEF

View File

@ -25,17 +25,6 @@ On Ubuntu, `apt install liblz4-tool` will do the trick.
2. [Set up an SSH key and add it to the ssh-agent](https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent), then add your key to the reMarkable with `ssh-copy-id root@10.11.99.1`.
> **Note:** the reMarkable 2 doesn't support `ed25519` keys, those users should generate and `rsa` key. Try out `ssh root@10.11.99.1`, it should **not** prompt for a password.
> **Note 2:** If you are using Fedora 33 or later, RSA keys are considered ["legacy"](https://fedoraproject.org/wiki/Changes/StrongCryptoSettings2) and will no longer work out of the box.
> Therefore you need to add a section to your `~.ssh/config` file to allow use of RSA ssh keys for specified hosts.
> (according to [https://remarkablewiki.com/tech/ssh](https://remarkablewiki.com/tech/ssh), Remarkable devices might not work with non-RSA keys, which is the reason for why this is necessary.)
> This example should work without any config, although the identifier needs to be "remarkable" with the line `PubkeyAcceptedKeyTypes=ssh-rsa` for the reStream to work correctly:
>```
> Host remarkable
> HostName 10.11.99.1
> User root
> PubkeyAcceptedKeyTypes=ssh-rsa
>```
#### Windows
1. Install [ffmpeg for windows](https://ffmpeg.org/download.html#build-windows).
@ -164,6 +153,17 @@ Steps you can try if the script isn't working:
- [Set up an SSH key](#installation)
- Update `ffmpeg` to version 4.
- Make sure RSA keys are allowed on your system:
- In some modern Unix distributions, RSA keys are considered ["legacy"](https://fedoraproject.org/wiki/Changes/StrongCryptoSettings2) and will no longer work out of the box.
- Therefore you need to add a section to your `~.ssh/config` file to allow use of RSA ssh keys for specified hosts. (according to [https://remarkablewiki.com/tech/ssh](https://remarkablewiki.com/tech/ssh), Remarkable devices might not work with non-RSA keys, which is the reason for why this is necessary.)
- This example should work without any additional configuration, although `PubkeyAcceptedKeyTypes=ssh-rsa` is required if you want to modify it:
```
Host remarkable
HostName 10.11.99.1
User root
PubkeyAcceptedKeyTypes=ssh-rsa
```
- You can then use the -s flag to connect to the Remarkable: `./reStream.sh -s remarkable`
## Development