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

Find ssh authorized users on server

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