Archive for 'FreeBSD'

Though this warning looks pretty much scary but the reason for this is very much simple and the solution as well.

Q. When did you get this error ?

A. The possible reasons for getting this error are:

  • You have re-installed you system and trying to ssh to the newly installed system.
  • You have assigned the IP address of one system to another system and trying to ssh.
  • You system is dual boot with different ssh keys in both flavors of linux.
  • You are using an IP for load balancing and trying to ssh to the same IP.
  • You generated new ssh keys for your system. (Read this article for the re-generation of the host keys: Generate SSH host keys)
  • Someone trying to do some nasty things, or you can say man-in-the-middle attack.

There could be lots of solution for this problem, which are explained below:

Read the complete article »

How To : Generate SSH Host keys

SSH is a service which most of system administrators use for remote administration of servers. When you install a fresh system, then at the start of the ssh service, it generates the host keys for your system which later on used for authentication. But if due to some reason you need to generate the host keys, then the process is …

Read the complete article »

FreeBSD: Change date/time from command line

How can i change/update date/time/timezone in FreeBSD from command line?

Changing date/time in FreeBSD operating system is not much different from what we use in normal linux operating systems which i had explained in this howto: Change date/time in linux from command prompt.

To display the date:

Simply type the date command to display the current date:

# date

Read the complete article »