<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body>
    Hi,<br>
    <br>
    I didn't install AppArmor, SELinux or a firewall manually. <br>
    <br>
    I had an Ubuntu live iso, installed openssh added a port forwarding
    on adapter 1 (NAT): protocol: TCP, host IP: 127.0.0.1, host port:
    2224, guest IP: left blank, guest port 22<br>
    <br>
    Then I connected: ssh -p 2224 ubuntu@localhost and I was able to
    successfully login via ssh.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 18.07.2016 11:08, Martin Kampas
      wrote:<br>
    </div>
    <blockquote
cite="mid:597ECB6BFD23CC488EED8B6CD7566AD232F066F8@ORD2MBX01B.mex05.mlsrvr.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">Hi Marcin,<br>
        <br>
        > <span style="background-color:white;"><font face="Courier
            New">ssh_exchange_identification: read: Connection reset by
            peer<br>
            <br>
          </font></span><font face="Courier New">Could this be result of
          some firewall or mandatory access controlĀ  (SELinux, AppArmor,
          ...) on your installation? (Can you SSH to any other
          VirtualBox VM? If you have no other VM, could you install e.g.
          Arch Linux in your VirtualBox, setup port forwarding like it
          is done with build VM and emulator from Sailfish SDK and check
          if you can SSH to it?)<br>
          <br>
          BR,<br>
          Martin<br>
        </font></div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Marcin</pre>
  </body>
</html>