Code Monkey home page Code Monkey logo

Comments (2)

mkj avatar mkj commented on August 17, 2024 1

The problem is that Dropbear version has a bug where it'll offer RSA even if there's no key available, and then crash. (The bug's fixed in a newer version).

The first thing to try might be to add --sftp-host-key-algorithms ed25519 to rclone, that won't have any risk on the device itself. https://rclone.org/sftp/#sftp-host-key-algorithms

Otherwise, I think you should be able to just add one extra ExecStart line on the Remarkable to create the rsa key in the default location, and Dropbear will then use that. Keep the existing Execstart ...dropbearkey -t ed25519 line, and after it add

ExecStart=/usr/sbin/dropbearkey -t rsa -f ${DROPBEAR_ED25519KEY_DIR}/dropbear_rsa_host_key

You could run that from a commandline to try.

Keep a couple of backup SSH windows open if you're editing things, then there's better chance for recovery if something goes wrong.

from dropbear.

crantok avatar crantok commented on August 17, 2024

Thank you @mkj !

Adding --sftp-host-key-algorithms ssh-ed25519 to my rclone commands worked. I don't need to change anything on the tablet. What a relief! 😁

from dropbear.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.