SSH server always terminating after some time
I have found that in Fedora 20 I've been unable to keep my SSH server at my home up for long periods of time. I will enable it with systemctl and start it, and it will work for a time, but then later days (after, maybe, 3 or so days) it will be unavailable and I'll have to restart it. The only non-standard thing I can think I'm doing is running SSH on another port, and I've already gotten SELinux to accept that fact. The issue is not that it won't even connect. It's that it goes down without any logical explanation. The most I get from the log files (/var/log/secure) is this: Nov 9 12:04:29 alpha sshd[25259]: Received signal 15; terminating. But I have no idea why it terminated (except that it's close to midnight?) and especially don't know why it won't start back up again. -- Libre Video http://librevideo.org -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: SSH server always terminating after some time
On 11/14/2014 02:46 PM, Basil Mohamed Gohar wrote: The only non-standard thing I can think I'm doing is running SSH on another port, and I've already gotten SELinux to accept that fact. The issue is not that it won't even connect. It's that it goes down without any logical explanation. The most I get from the log files (/var/log/secure) is this: Nov 9 12:04:29 alpha sshd[25259]: Received signal 15; terminating. Do you see anything in the journal (view it with journalctl -a) related to that time frame? -- Florian Weimer / Red Hat Product Security -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: SSH server always terminating after some time
On 11/14/2014 08:49 AM, Florian Weimer wrote: On 11/14/2014 02:46 PM, Basil Mohamed Gohar wrote: The only non-standard thing I can think I'm doing is running SSH on another port, and I've already gotten SELinux to accept that fact. The issue is not that it won't even connect. It's that it goes down without any logical explanation. The most I get from the log files (/var/log/secure) is this: Nov 9 12:04:29 alpha sshd[25259]: Received signal 15; terminating. Do you see anything in the journal (view it with journalctl -a) related to that time frame? Thanks for the tip. I'll skim through this and report back if I find anything interesting. -- Libre Video http://librevideo.org -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: SSH server always terminating after some time
On Fri, Nov 14, 2014 at 7:37 PM, Basil Mohamed Gohar basilgo...@librevideo.org wrote: Thanks for the tip. I'll skim through this and report back if I find anything interesting. I'd be interested in seeing your sshd logs. With the systemd journal, you can output the sshd related log entries with the following command: journalctl _COMM=sshd Brandon Vincent -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct