title: Create a SSH private key with ssh-keygen that is accepted by JSch
body: <p>Not directly a programming question, but somehow related. JSch (Java SSH library) does not seem to allow private keys that macOS 10.14 creates using</p>
  
  <pre><code>$ ssh-keygen -t rsa -b 4096
  </code></pre>
  
  <p>What command I should use to create a private key file with such a format:</p>
  
  <pre><code>-----BEGIN RSA PRIVATE KEY-----
  Proc-Type: 4,ENCRYPTED
  DEK-Info: DES-EDE3-CBC,....
  </code></pre>
  
  <p>which is accepted by JSch?</p>