LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2018, 03:35 AM   #1
indikakonda
LQ Newbie
 
Registered: Aug 2010
Posts: 1

Rep: Reputation: Disabled
Can't start ssh service in centos v6.9


our ssh service currently stopped when we are trying to start the ssh service, it gives us the following error.

'/etc/ssh/sshd_config line 23: directive 'protocol' is not allowed within a match block'.

How can we fix this issue and start the service?

[link to image removed - possible advertising]

Last edited by rtmistler; 06-07-2018 at 07:27 AM.
 
Old 06-07-2018, 07:32 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,705
Blog Entries: 13

Rep: Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922
I've removed the link to your image because it contains not much more than your attempt to start the service and the error you've already posted. It does contain information about a company and how to contact them, which is potentially advertising. If so, then do not do that and instead contact the LQ site using the Contact Us link at the bottom of the page form.

What you should instead do is post a relevant portion of your sshd_config file around line #23, enough of it to help others to determine what your problem may be. Meanwhile you should not post information that is specific to your server and instead edit out any information that should not be disclosed.

Have you recently changed your configuration? Have you looked at line #23 to determine what the problem may be?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with MySQL install on virt CentOS,no /var/lib/mysql/mysql.sock , systemctl start mysqld.service dont run the service Positive1 CentOS 1 08-13-2016 03:33 AM
service ldap start on CentOS fail to start Frezier Linux - Newbie 1 08-15-2011 09:53 AM
[SOLVED] Start/stop SSH service? dilzniksan Debian 3 06-12-2010 08:47 PM
[SOLVED] Can't start https service in Centos 5. brave heart Red Hat 5 05-15-2007 10:04 PM
script to start a service using ssh brazilian_user Linux - General 6 11-09-2006 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration