how to set hostname on a cable line?

Manish Jain jude.obscure at yandex.com
Thu Mar 22 15:12:51 UTC 2018


On 03/22/18 17:43, Anton Shterenlikht wrote:
> No matter what I put there,
> ssh `hostname` will not work, because
> my randomly chosen hostname will not resolve to my IP!

Hi Anton,

I suppose you have already tried something like this, but I just wanted 
to be sure: can you not 1) put fqdn in rc.conf; and then 2) put the IP 
for the machine's fqdn in /etc/hosts on the box that needs to ssh ?

-- 
Tx and Regards,
Manish Jain


More information about the freebsd-questions mailing list