title: Running remote_console of an erlang release via ssh works weird
body: <p>I'm running the erlang release of my elixir app via <code>systemd</code> on EC2 ubuntu.
  When I tried to run <code>remote_console</code> of my app via ssh, it works weird.</p>
  
  <pre><code># Good way. Connect to EC2 and run remote_console
  
  $ ssh ubuntu@&lt;ip&gt;
  $ sudo myapp remote_console
  iex(myapp@127.0.0.1)&gt; Application.started_applications()
  ... # All of my applications. OK.
  
  
  # Bad way. Run remote_console via ssh command
  
  $ ssh ubuntu@&lt;ip&gt; sudo myapp remote_console
  iex(remshce50beca-myapp@127.0.0.1)&gt; Application.started_applications()
  [{:logger, 'logger', '1.4.1'}, {:iex, 'iex', '1.4.1'},
   {:elixir, 'elixir', '1.4.1'}, {:compiler, 'ERTS  CXC 138 10', '7.0.4'},
   {:stdlib, 'ERTS  CXC 138 10', '3.3'}, {:kernel, 'ERTS  CXC 138 10', '5.2'}]
  # Weird node name remshce50beca-myapp and only 3 applications are started.
  </code></pre>
  
  <p>I don't understand why those are different.</p>