From 65d920ab316b8852619831eef263c6b23b7ab480 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Tue, 24 Jun 2025 07:04:35 +0200 Subject: [PATCH 1/2] Create 03-login-without-password.md --- 03-login-without-password.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 03-login-without-password.md diff --git a/03-login-without-password.md b/03-login-without-password.md new file mode 100644 index 0000000..fd1d2c5 --- /dev/null +++ b/03-login-without-password.md @@ -0,0 +1 @@ +ssh-copy-id -i /Users/timo/.ssh/.pub pi@raspberrypi.local From 035a8ceb2d01ec7eaf044b1981d853675f2d025b Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sat, 12 Jul 2025 17:06:35 +0200 Subject: [PATCH 2/2] Update 03-login-without-password.md --- 03-login-without-password.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/03-login-without-password.md b/03-login-without-password.md index fd1d2c5..ba5d3ab 100644 --- a/03-login-without-password.md +++ b/03-login-without-password.md @@ -1 +1,22 @@ +# Passwordless and Secure Login via SSH Key + +## Generate an SSH key locally + +```` +cd .ssh +ssh-keygen -t ed25519 -C "your_email@example.com" +```` + +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/.pub pi@raspberrypi.local +```` + +## Login without a password + +```` +ssh raspberrypi.local +````