Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions 03-login-without-password.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Passwordless and Secure Login via SSH Key

## Generate an SSH key locally

````
cd .ssh
ssh-keygen -t ed25519 -C "[email protected]"
````

Source: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

## Copy your public SSH key to the Raspberry Pi

````
ssh-copy-id -i /Users/timo/.ssh/<yourname>.pub [email protected]
````

## Login without a password

````
ssh raspberrypi.local
````