Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just set up a second vps ( and when trying to restart SSH I'm getting the following error:

"The authenticity of host 'restart (' can't be established."

The IP address (ending .74) is not the IP address of that server. It is the IP address of another vps running at

I've set an A record for s2 to point to the correct IP address for that server.

Any ideas what I'm doing wrong?


share|improve this question
BTW pinging shows the correct IP address – DavidM Nov 12 '12 at 14:37
What's the command you're running? – Dennis Kaarsemaker Nov 12 '12 at 14:40
@Dennis: ssh restart – DavidM Nov 12 '12 at 14:52
I think @MadHatter is on the right track, I've got a wildard in the zonefile so 'restart' would translate to the IP of the server at www – DavidM Nov 12 '12 at 15:22
service ssh restart did the trick – DavidM Nov 12 '12 at 15:36
up vote 3 down vote accepted

Try service sshd restart! ssh restart is an instruction to make an ssh connection to the host called restart (hence the error message).

And while I'm turning this into an actual answer, may I put in a plea - not just to you, DavidM, but to anyone who asks a question on SF - to post as much detail as they can about what they did, not just what they were trying to do. Dennis' question cracked this one wide-open, but he should never have had to ask it. I highly recommend the accepted answer to this meta question to anyone thinking of asking a question on SF.

share|improve this answer
Sorry I'm a n00b here. Thought I'd added as much as anyone would need with 'trying to restart ssh' but I guess that's vague! – DavidM Nov 12 '12 at 15:34
We totally got what you were trying to do, that bit was excellent. The problem lay in how you were trying to do it. A post that said "I tried to restart the ssh service with ssh restart but I only got the following error message..." would have saved a whole half-hour. Does that make sense? – MadHatter Nov 12 '12 at 15:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.