I have a machine that I can only access using SSH.
I was messing with the hostnames, and now it says:
ssh: unable to resolve hostname
I know how to fix it in /etc/hosts
.
Problem is, I need sudo
to fix them because my normal account doesn't have permissions.
What's the best way to fix the hosts?
/etc/hosts
, maybe http://unix.stackexchange.com/questions/10438/can-i-create-a-user-specific-hosts-file-to-complement-etc-hosts would help? – jamesdlin Apr 13 '14 at 08:54