Bug#982950: ssh.service starts sshd before network is online: please switch to After=network-online.target instead of just After=network.target

Thomas Goirand <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Organization Debian
Message-ID <40351046-0bdb-355e-f08d-fc74d2d1dc91__38267.8474344843$1613664384$gmane$org@debian.org>
On 2/18/21 12:59 PM, Timo Weingärtner wrote:
> 17.02.21 21:42 Chris Hofstaedtler:
>> Services that use After=network-online.target are generally broken,
>> please do not introduce that.
> 
> Seconded. Just consider a node where one link is down on boot and you would 
> have to wait such a long time until you can examine the problem via ssh.

I still don't understand this part. If network isn't online, how can I
ssh to my server anyways?

Cheers,

Thomas Goirand (zigo)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.