<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>IT notes - keychain</title>
    <subtitle>DBRE, AWS platform engineering, PostgreSQL, Linux, FreeBSD, and Rust reference notes.</subtitle>
    <link rel="self" type="application/atom+xml" href="https://nbari.com/tags/keychain/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://nbari.com"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2018-02-13T10:01:54+01:00</updated>
    <id>https://nbari.com/tags/keychain/atom.xml</id>
    <entry xml:lang="en">
        <title>UseKeychain</title>
        <published>2018-02-13T10:01:54+01:00</published>
        <updated>2018-02-13T10:01:54+01:00</updated>
        
        <author>
          <name>Unknown</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://nbari.com/usekeychain/"/>
        <id>https://nbari.com/usekeychain/</id>
        
        <content type="html" xml:base="https://nbari.com/usekeychain/">&lt;p&gt;To save SSH keys in macOS Sierra keychain add this to &lt;code&gt;~/.ssh/config&lt;/code&gt;:&lt;/p&gt;
&lt;pre class=&quot;giallo z-code&quot; &gt;&lt;code data-lang=&quot;plain&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;Host *&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;    AddKeysToAgent yes&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;    UseKeychain yes&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&quot;keychain-changes&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#keychain-changes&quot; aria-label=&quot;Anchor link for: keychain-changes&quot;&gt;🔗&lt;/a&gt;Keychain changes&lt;/h2&gt;
&lt;p&gt;Prior to macOS Sierra, ssh would present a dialog asking for your passphrase and
would offer the option to store it into the keychain. This UI was deprecated
some time ago and has been removed.&lt;/p&gt;
&lt;p&gt;Instead, a new UseKeychain option was introduced in macOS Sierra allowing users
to specify whether they would like for the passphrase to be stored in the
keychain. This option was enabled by default on macOS Sierra, which caused all
passphrases to be stored in the keychain.&lt;/p&gt;
&lt;p&gt;This was not the intended default behavior, so this has been changed in macOS
10.12.2. To store passphrases in the keychain, set this option in your ssh
configuration file:&lt;/p&gt;
&lt;pre class=&quot;giallo z-code&quot; &gt;&lt;code data-lang=&quot;plain&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;UseKeychain yes&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;https://developer.apple.com/library/content/technotes/tn2449/_index.html&lt;/p&gt;
</content>
        
    </entry>
</feed>
