5 votes
Accepted

Why is Ubuntu 22 still permitting login as root?

Because, according to the sshd_config man page: Unless noted otherwise, for each keyword, the first obtained value will be used. And in your config file, PermitRootLogin without-password comes ...
larsks's user avatar
  • 45k
1 vote

SSH to EC2 times out, but other instances in the same security group are reachable

I'm not familiar with EC2, but general ssh trouble-shooting scenario is to run both sides (client ssh and server sshd) in debug mode (ssh -vvv and sshd -d3 ) Can you temporarily shutdown ec2 service ...
ARZ Lab's user avatar
  • 61

Only top scored, non community-wiki answers of a minimum length are eligible