Is it possible to alias a hostname in Linux?

For those who don’t have an account on the forums (or don’t wish to login):

if your main issue is not to ping but to ssh, you can create/edit your
~/.ssh/config adding lines like these:

Host fakehost1
  Hostname real-hostname

Host fakehost2
  Hostname real-hostname2

Host fakehost3
  Hostname real-hostname3

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)