-
Notifications
You must be signed in to change notification settings - Fork 1k
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 #36
Comments
I dont see any possibility to mount ".ssh" to this location. However i can try to compile a new dropbear-version, which will change the the keys location from ".ssh" to "/system/sdcard". |
Thanks, it's not really a big deal, I was just interested in locking down access via ssh so I could tunnel into it since I don't have any other low power devices like this on my home network. Just out of interest is it possible to unpack the contents of the rootfs with unsquashfs, add a symlink like /.ssh -> /system/sdcard and then repack and reflash or would that invalidate the checksum on the loader somehow? Thank you so much for sharing all your work on this device with the world. My dafang was effectively a brick before I found this repo. |
@ljurgs : Yes, you can do it this way using the following guide: (Basically this creates a new firmware) |
You can try something like Edit: Just realized this probably won't work because the /.ssh directory doesn't already exist. Nevermind. :( |
Since 3d50d0e you can have your key at ~/.ssh. |
Hi,
I was wondering if it was at all possible to link /.ssh to /system/sdcard somehow? I would like to use authorized_keys but obviously the root filesystem is read-only and dropbear expects to find the list of keys at ~/.ssh. It doesn't appear to accept any command line options to override this.
Thanks
The text was updated successfully, but these errors were encountered: