title: How to send request through an SSH host
body: <h2>Intro</h2>
  
  <p>I am in a machine <strong>A</strong>, there is an <em>middle machine(<a href="https://en.wikipedia.org/wiki/Jump_server" rel="noreferrer">Jump Server</a>)</em> named <strong>B</strong>, and a 'outside' machine <strong>C</strong>. Since I can not connect <strong>C</strong> directly, but I can ssh login to <strong>B</strong>. </p>
  
  <p>For now i will firstly <code>ssh</code> login to <strong>B</strong>, then send a request from <strong>B</strong>, eg:</p>
  
  <pre><code>$ ssh myname@&lt;ip_B&gt; -p &lt;port_B&gt;
  myname@&lt;ip_B&gt;'s password:
  Last login: Tue Aug  7 10:14:21 2018 from ...
  </code></pre>
  
  <p>After I login to <strong>B</strong> I sent post using <code>curl</code>.</p>
  
  <pre><code>[myname@&lt;ip_B&gt;]$ curl -X POST http://&lt;ip_C&gt;:&lt;port_C&gt;/&lt;route&gt; -F 'my_post_key=my_post_value'
  </code></pre>
  
  <h2>Question</h2>
  
  <ul>
  <li>I wonder if I can use <strong>B</strong> as an SSH host and send my request From <strong>A</strong> directly using <code>curl</code>?</li>
  <li>Since I am using <a href="https://www.getpostman.com" rel="noreferrer">Postman</a>, is there any solution in Postman ?</li>
  </ul>