Last Updated: February 25, 2016
·
1.192K
· ssv445

Find ssh authorized users on server

echo "User allowed to login via SSH authentication user:" 
cat ~/.ssh/authorized_keys | awk '{print  $3}'