docs/docker-cloud/cloud-swarm/ssh-key-setup.md

1.5 KiB

previewflag description keywords title
cloud-swarm How to set up SSH keys Cloud, SSH keys, Azure, link Set up SSH keys

You can link your Cloud and Service providers so that Docker Cloud can provision and manage swarms on your behalf. For this, you need an SSH key to authenticate Docker to your provider.

About SSH

{% include content/ssh/ssh-overview.md %}

Check for existing SSH keys

You may not need to generate a new SSH key if you have an existing key that you want to reuse.

{% include content/ssh/ssh-find-keys.md %}

If you find an existing key you want to use, skip to the topic that describes how to copy your public key for use with Docker Cloud.

Otherwise, create a new SSH key.

Create a new SSH key

{% include content/ssh/ssh-gen-keys.md %}

Add your key to the ssh-agent

{% include content/ssh/ssh-add-keys-to-agent.md %}

Copy your public key for use with Docker Cloud

You need your SSH public key to provide to Docker Cloud. When you are ready to add it, you can copy the public key as follows.

{% include content/ssh/ssh-copy-key.md %}