0. generate keys on client

ssh-keygen -t ed25519 -C "comment for what this keypair is for"

when asked for passphrase, do not enter anything…

cat .ssh/id_ed25519.pub 
# copy this line
ssh-ed25519 ALOTOFRANDOMNUMBERSANDLETTERSMopLe comment

# ssh into qnap
ssh -v admin@192.168.0.123

# attach that line to
vi /mnt/HDA_ROOT/.config/ssh/authorized_keys

try to relogin

ssh -v admin@192.168.0.123

it should now be possible without giving password

Related Links:

https://wiki.qnap.com/wiki/SSH:_How_To_Set_Up_Authorized_Keys

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin