Windows 10 Native SSH Client Connect Without Password

Move to .ssh Directory
cd .ssh
List Files
Return to Home Directory
cd ..
Generate New Keypair
ssh-keygen -t ecdsa -b 521
Copy Public Key to Remote Server
scp <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 >> .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 *