My GitHub Mirror of docker_deployment_notes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Tai 63791c3e3b add files for tutorial 5 years ago
..
README.md Added setup scripts 5 years ago
connecting1.png add files for tutorial 5 years ago
connecting2.png add files for tutorial 5 years ago
connecting3.png add files for tutorial 5 years ago
connecting4.png add files for tutorial 5 years ago
connecting5.png add files for tutorial 5 years ago
copy-public-key.png add files for tutorial 5 years ago
save-private-key.png add files for tutorial 5 years ago
search-putty-gen.png Added setup scripts 5 years ago
ssh-2-rsa-key.png add files for tutorial 5 years ago

README.md

This guide was written for Windows Users using PuTTY

In order to setup SSH access to a linux machine by keys you need to paste in the public key on the linux machine in a file located in /home/yourusername/.ssh/authorized_keys

To get that public key you need to generate a private key first.

It’s important that you don’t share your private key. Your public key can be shared without any issues. You only need one private key to SSH to multiple machines.

1.0 Best Practices

Only use one private key per physical machine. Public key however can be on many Linux machines. If you have a Desktop and a Laptop for example. They both should have their own private keys. However their public keys should be on each of the Linux machines you want to access.

1.1 Generating Public Private Key Pair

Download putty somewhere on the Internet and install it. Personally I use ninite.com, check PuTTY, download, then run the installer.

After putty is installed search for PutTTYgen in Windows and run it.