sudo: unable to resolve host Cloudron: Name or service not known
-
Hi,
I wanted to remove the manual backups. I logged into the server using SSH using my server's login details and tried to remove the backup files following this: https://docs.cloudron.io/backups/#cleanup-backups
rm -rfshowedPermission denied, then I usedsudoand then it said this:sudo: unable to resolve host Cloudron: Name or service not knownI ran
sudo nano /etc/hostswhich showed this:127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhostsShould I make changes to this file? Or does Cloudron create separate SSH credentials?
Please guide me.
Thanks
-
This is because the hostname
Cloudronis not in/etc/hosts. You can change the hostname to something meaningful (to you) and add an entry in /etc/hosts as well. That way the warning will go away.For example, add something like below :
127.0.1.1 myservername -
This is because the hostname
Cloudronis not in/etc/hosts. You can change the hostname to something meaningful (to you) and add an entry in /etc/hosts as well. That way the warning will go away.For example, add something like below :
127.0.1.1 myservername -
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
