Lab to secure SSH

SSH is secure over the wire, but this lab is about locking down who can access SSH from where.

This lab uses password security in one instance to make it tests easier-- keys only get in the way at that point.

After this lab (let's call it ssh01), try to run the following:

ssh -p 2222 `azure network public-ip list | awk '{ print $10 }' | grep ssh01`


Try to run /root/ That will work.

There's the Azure NSG security, the firewall security, the SELinux security, the hosts.allow security and the AllowUsers security.

Deploy to Azure