> Finally was able to resolve the issue. It seems the sshd.service
> did not line Type=forking.
>
> I changed it to Type=simple and it started working.

Please, could you try with Type=notify ?

Thank you,
Zoran
_______

On Sat, Jul 18, 2020 at 12:53 PM <srijan.na...@gmail.com> wrote:
>
> Finally was able to resolve the issue. It seems the sshd.service did not line 
> Type=forking.
>
> I changed it to Type=simple and it started working.
>
> So now my sshd.service file looks like this:
>
>
>
> [Unit]
>
> Description=OpenSSH server daemon
>
> Documentation=man:sshd(8) man:sshd_config(5)
>
> After=network.target sshdkeygen.service
>
> Wants=sshdkeygen.service
>
>
>
> [Service]
>
> Type=simple
>
> PIDFile=/run/sshd.pid
>
> EnvironmentFile=-@SYSCONFDIR@/default/sshd
>
> ExecStart=@SBINDIR@/sshd -D $OPTIONS
>
> ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
>
> PermissionsStartOnly=true
>
> ExecStartPre=-/bin/mkdir -p /var/run/sshd
>
> ExecStartPre=/bin/chmod -R 755 /var/run/sshd
>
> KillMode=process
>
> Restart=on-failure
>
> RestartSec=42s
>
>
>
> [Install]
>
> WantedBy=multi-user.target
>
> Thanks,
> -=Srijan Nandi
>
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49991): https://lists.yoctoproject.org/g/yocto/message/49991
Mute This Topic: https://lists.yoctoproject.org/mt/75629249/21656
Mute #yocto: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/yocto
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to