ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
portable OpenSSH |
New
|
Undecided
|
Unassigned | ||
openssh (Debian) |
New
|
Undecided
|
Andrew T. Aldridge | ||
openssh (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Using apt I have reinstalled and purged both ssh and openssh-server.
apt-get remove --purge ssh openssh-server
reinstalled
updated
and on boot the ctl status is failed 255
After much forum research and attempts to default solutions, the final word was that reinstall usually fixes this issue.
With the issue usually stemming from ssh service trying to start before network services are available.
Currently I have no logs available with
journalctl -u sshd | tail -100
I can provide info pertaining to this on request.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: ssh 1:6.9p1-2ubuntu0.1
ProcVersionSign
Uname: Linux 4.2.0-30-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: LXDE
Date: Wed Feb 24 14:27:55 2016
InstallationDate: Installed on 2016-02-09 (15 days ago)
InstallationMedia: Lubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitec
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in openssh (Debian): | |
assignee: | nobody → Andrew T. Aldridge (dubleeh) |
Please can you provide as much information as you have? For example, "the ctl status is failed 255" is clearly a paraphrase of something that you're seeing; it would be more useful if you could please copy and paste the original text of the error messages.
Forum research is probably leading you up entirely the wrong path; that sounds like information that predates systemd. The ssh.service unit has "After= network. target" .
"journalctl -u sshd" won't find anything because that's not what the unit is called. Try "journalctl -u ssh".