Linux server boot issue suspected due to incorrect sshd_config configuration Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)NFS server generating “invalid extent” on EXT4 system disk?how to limit resources to a shared ubuntu 10.04Suddenly remote NFS folders will not auto-mount when booting upbind9 and 172.16.0.0/20 networkConnection to FTP Always RefusedUbuntu Server 17.04 - 403 ForbiddenPublic key authentication Permission denied (publickey)SSH Key Requires A Password Through SSH But Not Through ClientError while installing Ubuntu server due to RAID configurationIssues joining Linux server with AD
Single word antonym of "flightless"
What happens to sewage if there is no river near by?
What is the longest distance a 13th-level monk can jump while attacking on the same turn?
What is the musical term for a note that continously plays through a melody?
How can I make names more distinctive without making them longer?
Is there a "higher Segal conjecture"?
Is there a concise way to say "all of the X, one of each"?
Why is black pepper both grey and black?
Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?
If a contract sometimes uses the wrong name, is it still valid?
Is high blood pressure ever a symptom attributable solely to dehydration?
Is there a Spanish version of "dot your i's and cross your t's" that includes the letter 'ñ'?
What are 'alternative tunings' of a guitar and why would you use them? Doesn't it make it more difficult to play?
ListPlot join points by nearest neighbor rather than order
Is there a service that would inform me whenever a new direct route is scheduled from a given airport?
How to deal with a team lead who never gives me credit?
Why does Python start at index 1 when iterating an array backwards?
3 doors, three guards, one stone
Should I call the interviewer directly, if HR aren't responding?
Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?
How do I keep my slimes from escaping their pens?
G-Code for resetting to 100% speed
Do I really need recursive chmod to restrict access to a folder?
Check which numbers satisfy the condition [A*B*C = A! + B! + C!]
Linux server boot issue suspected due to incorrect sshd_config configuration
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)NFS server generating “invalid extent” on EXT4 system disk?how to limit resources to a shared ubuntu 10.04Suddenly remote NFS folders will not auto-mount when booting upbind9 and 172.16.0.0/20 networkConnection to FTP Always RefusedUbuntu Server 17.04 - 403 ForbiddenPublic key authentication Permission denied (publickey)SSH Key Requires A Password Through SSH But Not Through ClientError while installing Ubuntu server due to RAID configurationIssues joining Linux server with AD
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Recently one of our linux server in the cloud was not coming up after reboot. When we checked with vendor, he said it may be due to sshd_config file not configured properly. There was also file system corruption issue during that time. We are not sure if it was really a file system corruption issue or sshd_config file misconfiguration issue which made server unbootable.
The sshd_config file was configured as below:
AllowUsers user1 user2 user3 user4 user5
AllowUsers user6 user7
AllowUsers user8
AllowUsers user9
As per the vendor there can't be multiple entries for AllowUsers so the entries for user6 user7 user8 user9 are invalid.
AllowUsers user6 user7
AllowUsers user8
AllowUsers user9
I went though some blogs including Red-hat https://access.redhat.com/discussions/3872831 but it’s not clear from anywhere whether this is a correct configuration or not. Also, is there any way if sshd_config configuration can be validated?
server
New contributor
add a comment |
Recently one of our linux server in the cloud was not coming up after reboot. When we checked with vendor, he said it may be due to sshd_config file not configured properly. There was also file system corruption issue during that time. We are not sure if it was really a file system corruption issue or sshd_config file misconfiguration issue which made server unbootable.
The sshd_config file was configured as below:
AllowUsers user1 user2 user3 user4 user5
AllowUsers user6 user7
AllowUsers user8
AllowUsers user9
As per the vendor there can't be multiple entries for AllowUsers so the entries for user6 user7 user8 user9 are invalid.
AllowUsers user6 user7
AllowUsers user8
AllowUsers user9
I went though some blogs including Red-hat https://access.redhat.com/discussions/3872831 but it’s not clear from anywhere whether this is a correct configuration or not. Also, is there any way if sshd_config configuration can be validated?
server
New contributor
Is the server actually running Ubuntu? or RedHat? You may be able to validate thesshd_config
file by runningsshd -t
orsshd -T
– steeldriver
3 hours ago
Server is running Red Hat Enterprise Linux Server release 6.10 (Santiago). I tried to validate the file using sshd -t and sshd -T but it gives you some results only if there is any syntax error in sshd_config file. In my case it didn't gave me any error.
– Adesh Hambir
1 hour ago
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
1 hour ago
add a comment |
Recently one of our linux server in the cloud was not coming up after reboot. When we checked with vendor, he said it may be due to sshd_config file not configured properly. There was also file system corruption issue during that time. We are not sure if it was really a file system corruption issue or sshd_config file misconfiguration issue which made server unbootable.
The sshd_config file was configured as below:
AllowUsers user1 user2 user3 user4 user5
AllowUsers user6 user7
AllowUsers user8
AllowUsers user9
As per the vendor there can't be multiple entries for AllowUsers so the entries for user6 user7 user8 user9 are invalid.
AllowUsers user6 user7
AllowUsers user8
AllowUsers user9
I went though some blogs including Red-hat https://access.redhat.com/discussions/3872831 but it’s not clear from anywhere whether this is a correct configuration or not. Also, is there any way if sshd_config configuration can be validated?
server
New contributor
Recently one of our linux server in the cloud was not coming up after reboot. When we checked with vendor, he said it may be due to sshd_config file not configured properly. There was also file system corruption issue during that time. We are not sure if it was really a file system corruption issue or sshd_config file misconfiguration issue which made server unbootable.
The sshd_config file was configured as below:
AllowUsers user1 user2 user3 user4 user5
AllowUsers user6 user7
AllowUsers user8
AllowUsers user9
As per the vendor there can't be multiple entries for AllowUsers so the entries for user6 user7 user8 user9 are invalid.
AllowUsers user6 user7
AllowUsers user8
AllowUsers user9
I went though some blogs including Red-hat https://access.redhat.com/discussions/3872831 but it’s not clear from anywhere whether this is a correct configuration or not. Also, is there any way if sshd_config configuration can be validated?
server
server
New contributor
New contributor
New contributor
asked 4 hours ago
Adesh HambirAdesh Hambir
1
1
New contributor
New contributor
Is the server actually running Ubuntu? or RedHat? You may be able to validate thesshd_config
file by runningsshd -t
orsshd -T
– steeldriver
3 hours ago
Server is running Red Hat Enterprise Linux Server release 6.10 (Santiago). I tried to validate the file using sshd -t and sshd -T but it gives you some results only if there is any syntax error in sshd_config file. In my case it didn't gave me any error.
– Adesh Hambir
1 hour ago
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
1 hour ago
add a comment |
Is the server actually running Ubuntu? or RedHat? You may be able to validate thesshd_config
file by runningsshd -t
orsshd -T
– steeldriver
3 hours ago
Server is running Red Hat Enterprise Linux Server release 6.10 (Santiago). I tried to validate the file using sshd -t and sshd -T but it gives you some results only if there is any syntax error in sshd_config file. In my case it didn't gave me any error.
– Adesh Hambir
1 hour ago
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
1 hour ago
Is the server actually running Ubuntu? or RedHat? You may be able to validate the
sshd_config
file by running sshd -t
or sshd -T
– steeldriver
3 hours ago
Is the server actually running Ubuntu? or RedHat? You may be able to validate the
sshd_config
file by running sshd -t
or sshd -T
– steeldriver
3 hours ago
Server is running Red Hat Enterprise Linux Server release 6.10 (Santiago). I tried to validate the file using sshd -t and sshd -T but it gives you some results only if there is any syntax error in sshd_config file. In my case it didn't gave me any error.
– Adesh Hambir
1 hour ago
Server is running Red Hat Enterprise Linux Server release 6.10 (Santiago). I tried to validate the file using sshd -t and sshd -T but it gives you some results only if there is any syntax error in sshd_config file. In my case it didn't gave me any error.
– Adesh Hambir
1 hour ago
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
1 hour ago
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
1 hour ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Adesh Hambir is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134193%2flinux-server-boot-issue-suspected-due-to-incorrect-sshd-config-configuration%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Adesh Hambir is a new contributor. Be nice, and check out our Code of Conduct.
Adesh Hambir is a new contributor. Be nice, and check out our Code of Conduct.
Adesh Hambir is a new contributor. Be nice, and check out our Code of Conduct.
Adesh Hambir is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134193%2flinux-server-boot-issue-suspected-due-to-incorrect-sshd-config-configuration%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is the server actually running Ubuntu? or RedHat? You may be able to validate the
sshd_config
file by runningsshd -t
orsshd -T
– steeldriver
3 hours ago
Server is running Red Hat Enterprise Linux Server release 6.10 (Santiago). I tried to validate the file using sshd -t and sshd -T but it gives you some results only if there is any syntax error in sshd_config file. In my case it didn't gave me any error.
– Adesh Hambir
1 hour ago
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
1 hour ago