Hostname problem
-
I name my hostname like this
echo "bababababa" > /etc/hostname
hostname -F /etc/hostnamebut for some reason after initially changing, it reverts to a 'li-545' linode name.
I can't understand why this is....
I do all of my changes in root, I find it easier than using user+sudo, does that matter?
Posted 11 months ago # -
Ok, I seem to have resolved this.....HOWEVER
I am trying to do postfix, and my
/etc/aliases file is empty, so I cannot do what Guv says.
so I can't change root to my user name, because there is no text to amend.
Posted 11 months ago # -
Bump...still could do with some help on this.
When I ran the postfix module, my /etc/aliases file was empty, unlike in the guide where Guv amends root.
Does this matter?
Posted 11 months ago # -
hmm..
end of module 6 I am trying to implement GUVs command
<ssh -p 54321 username@hostname>
doesn't seem to be happening. Public key problem . any advice?
root@li\\\-\\\:/home/***# ssh -p 88888 ***@178.88.888.888
The authenticity of host '[178.88.888.888]:88888 ([178.88.888.888]:88888)' can't be established.
RSA key fingerprint is \\\\\\\\\\\\\\\\\\\\\\\\
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[178.88.888.888]:88888' (RSA) to the list of known hosts.
Permission denied (publickey).
root@li\\\-\\\:/home/***#Posted 11 months ago # -
I have exact same issue with Marcus.
I tried several variations like
ssh -p 54321 username@101.101.101.101 (101.101.101.101 here represents my real ip and username represent my real username)
ssh -p 54321 username@hostname (hostname here represents my real hostname)
But the end result always same and I get this error. So in the end I can not login using my username via putty.
Posted 6 months ago # -
well... i hate to ask, but is 54321 representing your real port? :)
Posted 3 weeks ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
