Comment by dan_quixote

2 years ago

You can commonly deploy the device/server with the client's public key.

That's assuming the device runs GNU/Linux with / mounted rw. But not everything is a laptop or a desktop.

  • No, it's assuming a device running a ssh daemon with something mounted rw or user-modifiable[0] that can hold an authorized_keys file. A NetBSD embedded board that configures sshd with `AuthorizedKeysFile /sdcard/config/authorized_keys` would be fine, for instance.

    [0] For example, you could let the user write their key to an SD card and then mount it ro on the device.

  • "One time, on first use, where absolutely necessary, and changing password immediately afterwards" seems a reasonable interpretation of "approximately never".

    • I don't know. I come across old AP/routers where I've forgotten the login credentials and find myself hard resetting them with some regularly, one that's above "approximately never" anyway.

      1 reply →

    • It could be totally fine if you disable WiFi and connect physically. At least the first time for setup.