Passwordless SSH
How to establish a passwordless SSH Connection between Windows and Linux
Open your favourite terminal emulator like Windows Terminal
- Use powershell:
ssh-keygen -t ed25519 - Choose a save location with password or without your choice.
- Change your current directory to your SSH folder
cd .\.ssh\ - Copy your public key to your Linux server
scp .\id_ed25519.pub $name@192.168.1.173:~/ - press CTRL + D tells the terminal that it should register a EOF on standard input, which bash interprets as a desire to exit.
ssh $name@192.168.1.173- You’re in without a password.
You’re done, way easier than this medium article