1

In my Ubuntu 12.04 box, my MaxStartups was like this earlier:

grep MaxStartups /etc/ssh/sshd_config
#MaxStartups 10:30:60

I increased it to 100 and below is the result now:

grep MaxStartups /etc/ssh/sshd_config
MaxStartups 100

Now after this change, I was trying to restart the sshd service like this:

david@machineA:~$ sudo service sshd restart
sshd: unrecognized service

And every time I am getting this error sshd: unrecognized service. Is there anything wrong I am doing?

This is a brand new machine I got from Unix team in our company.

7

The service is ssh, not sshd:

$ initctl list | grep ssh
ssh start/running, process 1379

So, do:

sudo service ssh restart

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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