Skip to content

Commit 2488456

Browse files
committed
Docs: Generating ssh keys
There's a much better documentation (including using existing OpenSSH keys like most of us already have for git) on the Azure docs, e.g.: http://azure.microsoft.com/en-us/documentation/articles/linux-use-ssh-key/ Closes #18.
1 parent ecd95da commit 2488456

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,23 @@ Before starting, you need to have:
7171
2014` doesn't seem to create a valid keypair for ssh. FWIW,
7272
`OpenSSL 1.0.1c 10 May 2012` on Ubuntu 12.04 LTS is known to work.
7373

74-
Here is a description on how to generate this using `openssl`:
74+
You should follow [this guide](http://azure.microsoft.com/en-us/documentation/articles/linux-use-ssh-key/) to learn
75+
how to create or use existing SSH keys. If you have already did it, you can skip the following.
76+
77+
Here is a description on how to generate SSH keys using `openssl`:
7578

7679
```sh
7780
# You may want to use another dir than /tmp
7881
cd /tmp
7982
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout azure-private.key -out azure-certificate.pem
8083
chmod 600 azure-private.key azure-certificate.pem
8184
openssl x509 -outform der -in azure-certificate.pem -out azure-certificate.cer
85+
```
8286

87+
Generate a keystore which will be used by the plugin to authenticate with a certificate
88+
all Azure API calls.
89+
90+
```sh
8391
# Generate a keystore (azurekeystore.pkcs12)
8492
# Transform private key to PEM format
8593
openssl pkcs8 -topk8 -nocrypt -in azure-private.key -inform PEM -out azure-pk.pem -outform PEM

0 commit comments

Comments
 (0)