Quantcast
Channel: Active questions tagged ssh - Ask Ubuntu
Viewing all articles
Browse latest Browse all 859

Missing /etc/hostname files

$
0
0

I am fairly new to Linux and I am setting up a server.

Anytime I use "sudo" command, I get "Unable to resolve host".

When I ssh into my server I have a certain hostname, let's say "bob". when I check hosts file with cat /etc/hosts I dont see bob name anywhere.

/etc/hostname does not exist. I am not sure what either file is supposed to say.

Please assist.


Viewing all articles
Browse latest Browse all 859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>