All of lore.kernel.org
 help / color / mirror / Atom feed
* No SSH access after removing debug_tweaks
@ 2023-02-24 15:49 Electronic Consult
  2023-02-24 15:55 ` [yocto] " Pavel Zhukov
  0 siblings, 1 reply; 2+ messages in thread
From: Electronic Consult @ 2023-02-24 15:49 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

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?

Thanks

[-- Attachment #2: Type: text/html, Size: 798 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [yocto] No SSH access after removing debug_tweaks
  2023-02-24 15:49 No SSH access after removing debug_tweaks Electronic Consult
@ 2023-02-24 15:55 ` Pavel Zhukov
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Zhukov @ 2023-02-24 15:55 UTC (permalink / raw)
  To: Electronic Consult; +Cc: yocto


"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]
> -=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-24 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-24 15:49 No SSH access after removing debug_tweaks Electronic Consult
2023-02-24 15:55 ` [yocto] " Pavel Zhukov

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.