Windows 10 Native SSH Client Connect Without Password

Move to .ssh Directory
cd .ssh
List Files
dir
Return to Home Directory
cd ..
Generate New Keypair
ssh-keygen -t ecdsa -b 521
Copy Public Key to Remote Server
scp id_ecdsa.pub <user>@<ip_address_of_remote_server>:~/
Connect to Remote Server Via SSH
ssh <user>@<ip_address_of_remote_server>
Add Public Key to Authorized Keys
cat id_ecdsa.pub >> .ssh/authorized_keys
Change Permissions of authorized_keys
chmod 600 .ssh/authorized_keys

Leave a comment

Your email address will not be published. Required fields are marked *