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 unix.stackexchange.com/questions/10438/… would help?