Using drush into remote host is showing me local data
It'd be interesting to see what results you'd get if you modify your script above by removing the domain.com: (in 'root'), to make it look like so:

&lt;?php
$aliases['lws'] = array(
    'root' =&gt; '/home/user/public_html',
    'uri' =&gt; 'domain.com',
    'remote-user' =&gt; 'user',
);
?&gt;


At least that would make it look more like the samples for 'dev' and 'prod' as documented in https://www.drupal.org/node/1401522 .

Curious to hear if this helps somehow ...