Linux server boot issue suspected due to incorrect sshd_config configurationNFS 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 Forbidden
Hiking with a mule or two?
What is this utensil for?
Did Apollo carry and use WD40?
If an object moving in a circle experiences centripetal force, then doesn't it also experience centrifugal force, because of Newton's third law?
Meaning of 'ran' in German?
Is "ln" (natural log) and "log" the same thing if used in this answer?
How do pilots align the HUD with their eyeballs?
To what extent is it worthwhile to report check fraud / refund scams?
Writing a letter of recommendation for a mediocre student
Do the villains know Batman has no superpowers?
What can a pilot do if an air traffic controller is incapacitated?
Can the U.S. president make military decisions without consulting anyone?
What is the meaning of "heutig" in this sentence?
Why would Evaluate[] in Plot give me warning about precision?
Is it really necessary to have a four hour meeting in Sprint planning?
Are there any adverse impacts if I keep WiFi router on all time?
Resolving moral conflict
Is it a good idea to leave minor world details to the reader's imagination?
Where Does VDD+0.3V Input Limit Come From on IC chips?
Guitar tuning (EADGBE), "perfect" fourths?
What is the need of methods like GET and POST in the HTTP protocol?
Is it true that, "just ten trading days represent 63 per cent of the returns of the past 50 years"?
Strange Sticky Substance on Digital Camera
Is it possible to encode a message in such a way that can only be read by someone or something capable of seeing into the very near future?
Linux server boot issue suspected due to incorrect sshd_config configuration
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 Forbidden
.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
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
1
Is the server actually running Ubuntu? or RedHat? You may be able to validate thesshd_configfile by runningsshd -torsshd -T
– steeldriver
Apr 15 at 22:12
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
Apr 16 at 0:09
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
Apr 16 at 0:10
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
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
asked Apr 15 at 20:58
Adesh HambirAdesh Hambir
1
1
1
Is the server actually running Ubuntu? or RedHat? You may be able to validate thesshd_configfile by runningsshd -torsshd -T
– steeldriver
Apr 15 at 22:12
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
Apr 16 at 0:09
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
Apr 16 at 0:10
add a comment
|
1
Is the server actually running Ubuntu? or RedHat? You may be able to validate thesshd_configfile by runningsshd -torsshd -T
– steeldriver
Apr 15 at 22:12
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
Apr 16 at 0:09
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
Apr 16 at 0:10
1
1
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
Apr 15 at 22:12
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
Apr 15 at 22:12
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
Apr 16 at 0:09
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
Apr 16 at 0:09
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
Apr 16 at 0:10
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
Apr 16 at 0:10
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/4.0/"u003ecc by-sa 4.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
);
);
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
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
1
Is the server actually running Ubuntu? or RedHat? You may be able to validate the
sshd_configfile by runningsshd -torsshd -T– steeldriver
Apr 15 at 22:12
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
Apr 16 at 0:09
Sorry RedHat is off-topic - you can ask on unix.stackexchange.com
– steeldriver
Apr 16 at 0:10