Files
docker-docs/_includes/content/ssh/ssh-find-keys.md
Misty Stanley-Jones a4f5e30249 Various copyedits to reduce future tense, wordiness, and use of 'please' (#5788)
* Reword lots of instances of 'will'

* Reword lots of instances of won't

* Reword lots of instances of we'll

* Eradicate you'll

* Eradicate 'be able to' type of phrases

* Eradicate 'unable to' type of phrases

* Eradicate 'has / have to' type of phrases

* Eradicate 'note that' type of phrases

* Eradicate 'in order to' type of phrases

* Redirect to official Chef and Puppet docs

* Eradicate gratuitous 'please'

* Reduce use of e.g.

* Reduce use of i.e.

* Reduce use of N.B.

* Get rid of 'sexagesimal' and correct some errors
2018-01-25 17:37:23 -08:00

3.3 KiB

  • Mac
  • Windows
  • Linux

{% capture mac-content-find %}
  1. Open a command-line terminal.

    $ ls -al ~/.ssh
    

    This lists files in your .ssh directory.

  2. Check to see if you already have a SSH keys you can use.

    Default file names for public keys are:

    • id_dsa.pub
    • id_ecdsa.pub
    • id_ed25519.pub
    • id_rsa.pub

    Here are example results showing a public and private key pair with the default names:

    drwx------   8 me  staff   272 Mar 27 14:04 .
    drwxr-xr-x+ 69 me  staff  2346 Apr  7 10:03 ..
    -rw-r--r--   1 me  staff   420 Mar 27 14:04 config
    -rw-------   1 me  staff  3326 Mar 27 14:01 id_rsa
    -rw-r--r--   1 me  staff   752 Mar 27 14:01 id_rsa.pub
    

    The file id_rsa contains the private key which resides on the local machine, and id_rsa.pub is the public key we can provide to a remote account.

{% endcapture %} {{ mac-content-find | markdownify }}



{% capture win-content-find %}
  1. Open Git Bash.

    $ ls -al ~/.ssh
    

    This lists files in your .ssh directory.

  2. Check to see if you already have SSH keys you can use.

    Default file names for public keys are:

    • id_dsa.pub
    • id_ecdsa.pub
    • id_ed25519.pub
    • id_rsa.pub

    Here are example results showing a public and private key pair with the default names:

    drwx------   8 me  staff   272 Mar 27 14:04 .
    drwxr-xr-x+ 69 me  staff  2346 Apr  7 10:03 ..
    -rw-r--r--   1 me  staff   420 Mar 27 14:04 config
    -rw-------   1 me  staff  3326 Mar 27 14:01 id_rsa
    -rw-r--r--   1 me  staff   752 Mar 27 14:01 id_rsa.pub
    

    The file id_rsa contains the private key which resides on the local machine, and id_rsa.pub is the public key we can provide to a remote account.

{% endcapture %} {{ win-content-find | markdownify }}



{% capture linux-content-find %}
  1. Open a command-line terminal.

    $ ls -al ~/.ssh
    

    This lists files in your .ssh directory.

  2. Check to see if you already have a SSH keys you can use.

    Default file names for public keys are:

    • id_dsa.pub
    • id_ecdsa.pub
    • id_ed25519.pub
    • id_rsa.pub

    Here are example results showing a public and private key pair with the default names:

    drwx------   8 me  staff   272 Mar 27 14:04 .
    drwxr-xr-x+ 69 me  staff  2346 Apr  7 10:03 ..
    -rw-r--r--   1 me  staff   420 Mar 27 14:04 config
    -rw-------   1 me  staff  3326 Mar 27 14:01 id_rsa
    -rw-r--r--   1 me  staff   752 Mar 27 14:01 id_rsa.pub
    

    The file id_rsa contains the private key which resides on the local machine, and id_rsa.pub is the public key we can provide to a remote account.

{% endcapture %} {{ linux-content-find | markdownify }}