This commit is contained in:
2025-10-05 18:29:28 +02:00
parent 9aa36c20ec
commit 43f2c057b7

View File

@@ -0,0 +1,13 @@
# How to ssh to localhost without password
I did following 3 steps to create the password less login
1. `ssh-keygen -t rsa`
Press enter for each line
2. `cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys`
3. `chmod og-wx ~/.ssh/authorized_keys`
## Note
If your `~/.ssh/authorized_keys` was already existing and had correct permissions, (3.) is not needed, but also does no harm.