Login Raspberry Pi without passcode via ssh-copy-id

Generate public key
$ ssh-keygen -t rsa

Upload public key
$ ssh-copy-id -i ~/.ssh/id_rsa.pub pi@raspberry.local

Set alias
$ alias spi=“ssh pi@raspberry.local”

Enjoy
$ spi

相关文章:

  • 2021-04-01
  • 2021-05-06
  • 2022-12-23
  • 2021-12-22
  • 2021-12-30
  • 2021-10-18
  • 2021-06-28
  • 2021-12-02
猜你喜欢
  • 2021-12-01
  • 2022-12-23
  • 2021-12-19
  • 2021-11-27
  • 2021-09-06
相关资源
相似解决方案