title: openssh - Reading from a file
body: <p>In the openssh code (openssh-5.9p1/auth2.c) in the function</p>
  
  <pre><code>input_userauth_request(int type, u_int32_t seq, void *ctxt)
  </code></pre>
  
  <p>I'm trying to read my own file (tried using <code>fopen</code>, <code>fread</code>) but <code>fopen</code> fails with an error saying <code>No such file or directory</code>. The file exists with full permissions. Thanks.</p>