how to auto login into ssh on a squashfs

Hi All,

I will like ssh autologin into my Digi Connect 9210 board which is currently running squashfs.

How can I achieve this, as I can’t copy the ssh generated keys to the target filesystem directory.

Regards

onio

> I can’t copy the ssh generated keys to the target filesystem directory.

You can’t on already running system, but you can include those keys in to your rootfs when you building it on the host in digiESP using add_files.sh script in your rootfs project.
Or if you are not terribly running out of space convert squashfs to jffs2. Let me know if you need the instructions.
or you have by default extra space in flash for userfs jffs2 writable partition. put your keys there and create a symbloic link to the file from squashfs rootfs using add_files.h when you building it.

1 Like