title: OSX security find-identity can't find identities in ssh-ed machine
body: <p>I am ssh-ing into <code>otherosx</code> OSX (10.10.3) machine from my OSX(10.10.3) machine in order to build a mac application.</p>
  
  <pre><code>ssh user@otherosx
  </code></pre>
  
  <p>Then on <code>otherosx</code> I try to import identities like this:</p>
  
  <pre><code>security default-keychain -s /path/to/my/login.keychain
  security unlock-keychain 
  security import my_identity.p12 -P passphrase
  </code></pre>
  
  <p>Then I try to find my identity:</p>
  
  <pre><code>security find-identity
  </code></pre>
  
  <p>and I get this: </p>
  
  <pre><code>Policy: X.509 Basic
    Matching identities
     0 identities found
  
    Valid identities only
     0 valid identities found
  </code></pre>
  
  <p>Does anyone know how to fix this? Did anyone experience the same issue?</p>
  
  <p>PS. I also tried full paths everywhere, and <code>security list-keychains -s /path/to/my/login.keychain</code> before unlocking keychain and searching for identities.</p>