Got it - the sleep wasn&#39;t working for me, but I found another solution.<div><br></div><div>I installed &quot;reattach-to-user-namespace&quot; and then used the following command:</div><div>--server=&quot;reattach-to-user-namespace mosh-server&quot;<br>
</div><div><br></div><div><div>$ whoami</div><div>jordan</div></div><div><br></div><div>BAM!</div><div><br></div><div>..Jordan</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 3:02 PM, Quentin Smith <span dir="ltr">&lt;<a href="mailto:quentin@mit.edu" target="_blank">quentin@mit.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Jordan,<br>
<br>
This is actually a bug in Snow Leopard - when the sshd that mosh uses to authenticate exits, launchd cleans up the Mach context and the mosh-server no longer has the ability to talk to lookupd/mDNSResponder for user information.<br>

<br>
We&#39;re tracking this at <a href="https://github.com/keithw/mosh/issues/249" target="_blank">https://github.com/keithw/<u></u>mosh/issues/249</a><br>
<br>
As a very kludgey workaround, you can try using<br>
<br>
mosh --server=&quot;mosh-server; sleep 2&quot; foo<br>
<br>
which will add a delay to hopefully avoid the race :/<span class=""><font color="#888888"><br>
<br>
--Quentin</font></span><div class=""><div class="h5"><br>
<br>
On Tue, 20 Nov 2012, Jordan wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I&#39;ve successfully installed Mosh onto my older Mac running Snow Leopard Server (10.6.8).<br>
<br>
The challenge that I am having is that once I am connected it looks like the Mosh server (or connection) is not properly accessing OSX&#39;s OpenDirectory.<br>
<br>
Under SSH:<br>
jordan$ whoami<br>
jordan<br>
$ su - admin<br>
Password:<br>
<br>
<br>
Under Mosh:<br>
$ whoami<br>
512<br>
$ su admin<br>
su: who are you?<br>
<br>
<br>
Anyone have any clues if this is an environment configuration thing I might be able to work around on the server?<br>
<br>
Thanks,<br>
..Jordan<br>
<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>