Go Down

Topic: Generating new SSH host keys for Yún security (Read 191 times) previous topic - next topic

ethanhall9

Does this (see below) mean that the Yún does not generate ssh keys during setup?

The host keys have a date stamp of April 27, 2018 in the file system, even though I recently bought it and set it up. Which means all Yún owners probably have the same keys?.....

If so, isn't that insecure, and how do I generate new and secure host keys with dropbear suited for the Yún?

root@Arduino:/etc/dropbear# ls -la
drwx------    1 root     root          4096 Apr 21 11:33 .
drwxr-xr-x    1 root     root          4096 Apr 27  2018 ..
-rw-r--r--    1 root     root          1505 Apr 21 14:20 authorized_keys
-rw-------    1 root     root           805 Apr 27  2018 dropbear_rsa_host_key
root@Arduino:/etc/dropbear# uname -a
Linux Arduino 4.9.91 #0 Tue Apr 24 17:17:07 2018 mips GNU/Linux
root@Arduino:/etc/dropbear#

Go Up