Hi Jordan,

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.

We're tracking this at https://github.com/keithw/mosh/issues/249

As a very kludgey workaround, you can try using

mosh --server="mosh-server; sleep 2" foo

which will add a delay to hopefully avoid the race :/

--Quentin

On Tue, 20 Nov 2012, Jordan wrote:

> I've successfully installed Mosh onto my older Mac running Snow Leopard 
> Server (10.6.8).
> 
> 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's OpenDirectory.
> 
> Under SSH:
> jordan$ whoami
> jordan
> $ su - admin
> Password:
> 
> 
> Under Mosh:
> $ whoami
> 512
> $ su admin
> su: who are you?
> 
> 
> Anyone have any clues if this is an environment configuration thing I might 
> be able to work around on the server?
> 
> Thanks,
> ..Jordan
> 
>
_______________________________________________
mosh-users mailing list
mosh-users@mit.edu
http://mailman.mit.edu/mailman/listinfo/mosh-users

Reply via email to