Is there a specific SSH boot log?
My sshd won't start at bootup. I have to type it in manually (sudo service ssh start
).
I've posted a question on how to start ssh at bootup (How to start SSH daemon on boot on Linux Mint Debian v2), but, everything I've tried has not worked.
I checked /var/log/boot.log, it actually says:
[ ok ] Starting OpenBSD Secure Shell server: sshd
However, when I type ps -A | grep ssh
, sshd does not show up. If I start it manually (sudo service ssh start
), it does show up. Is there a specific log for SSH that I can check?
I'm using LMDE v2, 64-bit, Mate.
ssh startup init.d
bumped to the homepage by Community♦ 19 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 1 more comment
My sshd won't start at bootup. I have to type it in manually (sudo service ssh start
).
I've posted a question on how to start ssh at bootup (How to start SSH daemon on boot on Linux Mint Debian v2), but, everything I've tried has not worked.
I checked /var/log/boot.log, it actually says:
[ ok ] Starting OpenBSD Secure Shell server: sshd
However, when I type ps -A | grep ssh
, sshd does not show up. If I start it manually (sudo service ssh start
), it does show up. Is there a specific log for SSH that I can check?
I'm using LMDE v2, 64-bit, Mate.
ssh startup init.d
bumped to the homepage by Community♦ 19 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
What distro and version are you using, debian? did you try chkconfig?
– VaTo
Jun 21 '15 at 4:16
3
Have you considered looking at the logs?
– lcd047
Jun 21 '15 at 4:19
lcd047: Yes, I updated my question.
– linstar
Jun 21 '15 at 11:24
Insystemd
based systems, it's possible that only a socket is opened and the daemon loads on demand, when a request comes. I hope this is relevant.
– orion
Jun 21 '15 at 11:57
Saul: Thanks, I'll look into chkconfig
– linstar
Jun 21 '15 at 12:38
|
show 1 more comment
My sshd won't start at bootup. I have to type it in manually (sudo service ssh start
).
I've posted a question on how to start ssh at bootup (How to start SSH daemon on boot on Linux Mint Debian v2), but, everything I've tried has not worked.
I checked /var/log/boot.log, it actually says:
[ ok ] Starting OpenBSD Secure Shell server: sshd
However, when I type ps -A | grep ssh
, sshd does not show up. If I start it manually (sudo service ssh start
), it does show up. Is there a specific log for SSH that I can check?
I'm using LMDE v2, 64-bit, Mate.
ssh startup init.d
My sshd won't start at bootup. I have to type it in manually (sudo service ssh start
).
I've posted a question on how to start ssh at bootup (How to start SSH daemon on boot on Linux Mint Debian v2), but, everything I've tried has not worked.
I checked /var/log/boot.log, it actually says:
[ ok ] Starting OpenBSD Secure Shell server: sshd
However, when I type ps -A | grep ssh
, sshd does not show up. If I start it manually (sudo service ssh start
), it does show up. Is there a specific log for SSH that I can check?
I'm using LMDE v2, 64-bit, Mate.
ssh startup init.d
ssh startup init.d
edited Apr 13 '17 at 12:37
Community♦
1
1
asked Jun 21 '15 at 2:58
linstarlinstar
3362415
3362415
bumped to the homepage by Community♦ 19 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 19 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
What distro and version are you using, debian? did you try chkconfig?
– VaTo
Jun 21 '15 at 4:16
3
Have you considered looking at the logs?
– lcd047
Jun 21 '15 at 4:19
lcd047: Yes, I updated my question.
– linstar
Jun 21 '15 at 11:24
Insystemd
based systems, it's possible that only a socket is opened and the daemon loads on demand, when a request comes. I hope this is relevant.
– orion
Jun 21 '15 at 11:57
Saul: Thanks, I'll look into chkconfig
– linstar
Jun 21 '15 at 12:38
|
show 1 more comment
What distro and version are you using, debian? did you try chkconfig?
– VaTo
Jun 21 '15 at 4:16
3
Have you considered looking at the logs?
– lcd047
Jun 21 '15 at 4:19
lcd047: Yes, I updated my question.
– linstar
Jun 21 '15 at 11:24
Insystemd
based systems, it's possible that only a socket is opened and the daemon loads on demand, when a request comes. I hope this is relevant.
– orion
Jun 21 '15 at 11:57
Saul: Thanks, I'll look into chkconfig
– linstar
Jun 21 '15 at 12:38
What distro and version are you using, debian? did you try chkconfig?
– VaTo
Jun 21 '15 at 4:16
What distro and version are you using, debian? did you try chkconfig?
– VaTo
Jun 21 '15 at 4:16
3
3
Have you considered looking at the logs?
– lcd047
Jun 21 '15 at 4:19
Have you considered looking at the logs?
– lcd047
Jun 21 '15 at 4:19
lcd047: Yes, I updated my question.
– linstar
Jun 21 '15 at 11:24
lcd047: Yes, I updated my question.
– linstar
Jun 21 '15 at 11:24
In
systemd
based systems, it's possible that only a socket is opened and the daemon loads on demand, when a request comes. I hope this is relevant.– orion
Jun 21 '15 at 11:57
In
systemd
based systems, it's possible that only a socket is opened and the daemon loads on demand, when a request comes. I hope this is relevant.– orion
Jun 21 '15 at 11:57
Saul: Thanks, I'll look into chkconfig
– linstar
Jun 21 '15 at 12:38
Saul: Thanks, I'll look into chkconfig
– linstar
Jun 21 '15 at 12:38
|
show 1 more comment
1 Answer
1
active
oldest
votes
I figured it out. In my auth.log file, it wasn't binding to the IP address I put in for the ListenAddress parameter in /etc/ssh/sshd_config. After I changed it back to 0.0.0.0, it starts up now. Don't quite understand, I thought I could put the IP address of my computer?
And I don't understand why it doesn't start at boot, yet, manually, it can start.
1
Suspectsshd
is starting before your specific ip address has been assigned. So it's not available whensshd
tries to bind with theListen
directive
– roaima
Jun 21 '15 at 21:46
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
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%2funix.stackexchange.com%2fquestions%2f211080%2fis-there-a-specific-ssh-boot-log%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I figured it out. In my auth.log file, it wasn't binding to the IP address I put in for the ListenAddress parameter in /etc/ssh/sshd_config. After I changed it back to 0.0.0.0, it starts up now. Don't quite understand, I thought I could put the IP address of my computer?
And I don't understand why it doesn't start at boot, yet, manually, it can start.
1
Suspectsshd
is starting before your specific ip address has been assigned. So it's not available whensshd
tries to bind with theListen
directive
– roaima
Jun 21 '15 at 21:46
add a comment |
I figured it out. In my auth.log file, it wasn't binding to the IP address I put in for the ListenAddress parameter in /etc/ssh/sshd_config. After I changed it back to 0.0.0.0, it starts up now. Don't quite understand, I thought I could put the IP address of my computer?
And I don't understand why it doesn't start at boot, yet, manually, it can start.
1
Suspectsshd
is starting before your specific ip address has been assigned. So it's not available whensshd
tries to bind with theListen
directive
– roaima
Jun 21 '15 at 21:46
add a comment |
I figured it out. In my auth.log file, it wasn't binding to the IP address I put in for the ListenAddress parameter in /etc/ssh/sshd_config. After I changed it back to 0.0.0.0, it starts up now. Don't quite understand, I thought I could put the IP address of my computer?
And I don't understand why it doesn't start at boot, yet, manually, it can start.
I figured it out. In my auth.log file, it wasn't binding to the IP address I put in for the ListenAddress parameter in /etc/ssh/sshd_config. After I changed it back to 0.0.0.0, it starts up now. Don't quite understand, I thought I could put the IP address of my computer?
And I don't understand why it doesn't start at boot, yet, manually, it can start.
answered Jun 21 '15 at 19:12
linstarlinstar
3362415
3362415
1
Suspectsshd
is starting before your specific ip address has been assigned. So it's not available whensshd
tries to bind with theListen
directive
– roaima
Jun 21 '15 at 21:46
add a comment |
1
Suspectsshd
is starting before your specific ip address has been assigned. So it's not available whensshd
tries to bind with theListen
directive
– roaima
Jun 21 '15 at 21:46
1
1
Suspect
sshd
is starting before your specific ip address has been assigned. So it's not available when sshd
tries to bind with the Listen
directive– roaima
Jun 21 '15 at 21:46
Suspect
sshd
is starting before your specific ip address has been assigned. So it's not available when sshd
tries to bind with the Listen
directive– roaima
Jun 21 '15 at 21:46
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f211080%2fis-there-a-specific-ssh-boot-log%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
What distro and version are you using, debian? did you try chkconfig?
– VaTo
Jun 21 '15 at 4:16
3
Have you considered looking at the logs?
– lcd047
Jun 21 '15 at 4:19
lcd047: Yes, I updated my question.
– linstar
Jun 21 '15 at 11:24
In
systemd
based systems, it's possible that only a socket is opened and the daemon loads on demand, when a request comes. I hope this is relevant.– orion
Jun 21 '15 at 11:57
Saul: Thanks, I'll look into chkconfig
– linstar
Jun 21 '15 at 12:38