All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Zhukov <pavel@zhukoff.net>
To: Electronic Consult <electronicconsult1@gmail.com>
Cc: yocto@lists.yoctoproject.org
Subject: Re: [yocto] No SSH access after removing debug_tweaks
Date: Fri, 24 Feb 2023 16:55:41 +0100	[thread overview]
Message-ID: <87a613xdhc.fsf@desktop.zhukoff.net> (raw)
In-Reply-To: <CAGUWaEFoZ0bNxu3RKM+pNfkSF43xdQkxp-ttLOwaMERa5Krhdg@mail.gmail.com>


"Electronic Consult" <electronicconsult1@gmail.com> writes:

> Hello all,
>
> I'm trying to add a root password to add some security to ssh access. I plan also to enable/ disable the ssh via GUI.
>
> I'm using meta-atmel on a dunfell build. I've added:
>
> INHERIT += "extrausers"
> EXTRA_USERS_PARAMS = "usermod -p $(openssl passwd mypassword) root"
>
> And commented out:
>
> EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
>
> When I try to SSH in I'm now getting:
>
> Connection closed by 192.168.178.13 port 22
>
> Do I need to set a password for ssh also?
root login is disabled by default in modern ssh servers.
Either enable add allow-root-login to EXTRA_IMAGE_FEATURES or add
another user for this purpose.
>
> Thanks
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#59299): https://lists.yoctoproject.org/g/yocto/message/59299
> Mute This Topic: https://lists.yoctoproject.org/mt/97208307/6390638
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [pavel@zhukoff.net]
> -=-=-=-=-=-=-=-=-=-=-=-



      reply	other threads:[~2023-02-24 15:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-24 15:49 No SSH access after removing debug_tweaks Electronic Consult
2023-02-24 15:55 ` Pavel Zhukov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a613xdhc.fsf@desktop.zhukoff.net \
    --to=pavel@zhukoff.net \
    --cc=electronicconsult1@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.