Unable to SSH into stlb01 Server for Day 3: Secure Root SSH Access #100DaysofDevOps

Hi I am unable to ssh into the stlb server and i got these errors

thor@jumphost ~$ ssh loki@stlb01
ssh: Could not resolve hostname stlb01: Name or service not known
thor@jumphost ~$ ssh loki@172.16.238.14
ssh: connect to host 172.16.238.14 port 22: No route to host

Hi @Ukahip

You need to disable root access on all App Servers, and not any other servers.
App Servers: App Server-1 to App Server-3

Hi @Santosh_KodeKloud

Thanks so much, Gosh i didn’t pay attention to details

i changed here: /etc/ssh/ssd_config
it showing: when i check via grep as
permitrootlogin no

but,
when im click on the button, it is not working why? i need to do something else?

After you update the sshd_config file. You need to restart the sshd service.
And, you need to perform this on all App Servers.

What’s the error you are seeing?

Hi @Santosh_KodeKloud i tried again

ref: