Monday, November 30, 2015

Root Login Message

Does anybody have a idea how to do The following on Linux?



$ ssh root@
Please login as the user "ec2-user" rather than the user "root".



Not only disable the root login, but show an message when login with the root user and then terminate the ssh connection?




Thank you.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...