<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="ssh-export" xml:lang="gl">

  <info>
    <link type="guide" xref="index#ssh-keys"/>

    <revision pkgversion="3.14" date="2014-10-03" status="review"/>
    <revision version="3.32.0" date="2019-03-19" status="review"/>

    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>

    <credit type="author copyright">
      <name>Aruna Sankaranarayanan</name>
      <email its:translate="no">aruna.evam@gmail.com</email>
      <years>2013</years>
    </credit>

    <desc>Export your public and private SSH keys to store them in
    keyfiles.</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Fran Diéguez</mal:name>
      <mal:email>frandieguez@gnome.org</mal:email>
      <mal:years>2021</mal:years>
    </mal:credit>
  </info>

  <title>Export SSH keys</title>

  <p>Export the contents of your SSH keys and store them in keyfiles, to have a
  backup of your keys or to share your public key with someone.</p>

  <section id="public">
    <title>To export your public SSH key:</title>

    <steps>
      <item>
	<p>Select the <gui>OpenSSH keys</gui> keyring from the left side
	panel.</p>
      </item>
      <item>
	<p>Select the <gui>Personal SSH key</gui>, that has to be exported,
	from the list.</p>
      </item>
      <item>
	<p>Right-click on the key and select <gui style="menuitem">Export…</gui>.</p>
      </item>
      <item>
	<p>Press the <gui style="button">Export</gui> button to save the
	exported public key on your computer.</p>
      </item>
    </steps>

  </section>

  <section id="private">
    <title>To export your private SSH key:</title>

    <steps>
      <item>
	<p>Select the <gui>OpenSSH keys</gui> keyring from the left side
	panel.</p>
      </item>
      <item>
	<p>Select the <gui>Personal SSH key</gui>, that has to be exported,
	from the list.</p>
      </item>
      <item>
	<p>Right click on the selected key and select
	<gui style="menuitem">Properties</gui>.</p>
      </item>
      <item>
	<p>Press the <gui style="button">Export</gui> button to
	save the exported private key on your computer.</p>
      </item>
    </steps>

    <note style="warning">
      <p>Keep the exported private key file in a safe location, since the
      contents of the file must be kept private, to prevent misuse of your
      key.</p>
    </note>

  </section>

</page>
