[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Permitting login on AWS serial console



On Tue, Oct 05, 2021 at 06:55:19PM +0100, Phil Endecott wrote:
> What is the recommended way to permit login on the AWS serial
> console? I hesitate to try to work it out by trial and error,
> since a mistake could either leave me unable to log in at all
> or leave the instance insecure.
> 
> This is an instance that I've just upgraded from buster to
> bullseye. Most of the current configuration is unchanged from
> the defaults, though I have changed sshd.conf to permit root
> ssh logins; ssh is key-only and passwords are disabled.

The EC2 serial console is visible to instances as a common 16550 serial
port, so systemd will start a getty and root logins will be permitted by
default as long as you set a password on the account.

noah

Attachment: signature.asc
Description: PGP signature


Reply to: