How To Connect SSH Using PEM Certificate On Windows
Usually you will need a pair of SSH username and password to connect to a remote server. But there's also another way to connect to the server via SSH but without password, just using a dot pem (example.pem) file.
Here's how we usually do on Windows
1. Let’s SSH login using pem to confirm if it’s throwing error or the pem is fine, if error then we need to move to step 2 to fix it:
ssh adam@10.0.0.123 -i server-cert.pem3. Disable inheritance
4. Delete all permissions, so it doesn’t have any permission
5. Now add you as the only only owner. By click button Add and then Select a principal, then Advanced.
7. On the basic permissions select full control, so all the permissions is checked
8. Then click Apply and OK
A Pem file is a container format that may just include the public certificate or the entire certificate chain (private key, public key, root certificates): Private Key. Server Certificate (crt, public key) (optional) Intermediate CA and/or bundles if signed by a 3rd party.
Comments
Post a Comment