OS X computer name not matching what shows on terminal My computer name in System Preferences &gt; Sharing is set to &quot;archos&quot;, but is showing as &quot;iphone&quot; on Terminal. It just started doing this after I loaded Xcode for doing iPhone development:
Last login: Mon Nov  7 14:46:55 on ttys001
iphone:~ travis$ 

Any ideas what could be causing this?
It's perfectly normal for this to occur; when you login Terminal remotely bash does a reverse DNS lookup. It will only be the same if the hostname is not specified on the network you're connecting from and there is no reply from the DHCP server, or the reverse lookup against the remote DNS server fails to resolve.

You can easily over-ride the default setting by using this command in Terminal:

# sudo scutil --set HostName archos


You can check it by using:

# nslookup nn.nn.nn.nn
( or )
# host nn.nn.nn.nn


(where nn signifies your Mac's ip address)